ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I would to only processing the msg in A when the subscriber B got all messages from topic "b"(i.e. until there is no new message from b), is it possible to do it?

No. Not with just rostopic alone.

I'm also wondering what you mean by "processing the msg": rostopic does not really process messages. It can only print them to the console, or publish new ones.

And something to consider: when are "all messages on a topic" received? How would you know?