robocup-software
robocup-software copied to clipboard
Transient local pub/sub for referee topics
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
- Start sim
- Remove the timer added in #1671
- 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.