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

The main overhead is you filling/creating the message + marshalling. If you want to avoid your work: You can check for the getNumSubscribers property in a publisher to prevent doing any work (This should be done for example in the kinect driver).

Messages should not be stored temporarily unless the topic is latched.

The main overhead is you filling/creating the message + marshalling. If you want to avoid your work: You can check for the getNumSubscribers property in a publisher to prevent doing any work (This should be done is done, for example example, in the kinect driver).

Messages should not be stored temporarily unless the topic is latched.