ROS Topic queries

asked 2016-08-03 02:33:52 -0600

asdfgf gravatar image

updated 2016-08-03 02:35:14 -0600

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.

edit retag flag offensive close merge delete

Comments

Have a look at latched topics: http://wiki.ros.org/roscpp/Overview/P...

NEngelhard gravatar image NEngelhard  ( 2016-08-03 04:31:01 -0600 )edit

Oh thank you, I hadn't seen about latch before.

asdfgf gravatar image asdfgf  ( 2016-08-03 15:36:52 -0600 )edit