ROS Topic queries
Can I know how can we know if the data is present on a topic ? Will the data remain on the topic until next data is published on that topic ?
I would like to realize an action and reaction pair. Action being publishing data on topic A and reaction being publishing data on topic B, this is supposed to happen within a certain interval.
Asked by asdfgf on 2016-08-03 02:33:52 UTC
Comments
Have a look at latched topics: http://wiki.ros.org/roscpp/Overview/Publishers%20and%20Subscribers
Asked by NEngelhard on 2016-08-03 04:31:01 UTC
Oh thank you, I hadn't seen about latch before.
Asked by asdfgf on 2016-08-03 15:36:52 UTC