robocup-software icon indicating copy to clipboard operation
robocup-software copied to clipboard

Transient local pub/sub for referee topics

Open kfu02 opened this issue 3 years ago • 0 comments

Description

Referee topics are only published on gameplay start/halt, which means we should use the transient local QoS for all related ROS pubs/subs. The pubs are configured as such; the subs aren't. Introducing transient local subs didn't expose the topics to gameplay_node, so in #1671 we added a timer to periodically publish the referee messages.

Steps to reproduce

  1. Start sim
  2. Remove the timer added in #1671
  3. Try to use a referee topic in gameplay_node

Result: The callback in gameplay_node is never reached.

  • [X] This bug has been reproduced by someone else

Additional information

Either we should fix transient_local subs or just make all referee topics on a timer.

kfu02 avatar Jun 19 '21 16:06 kfu02