ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
2 | No.2 Revision |
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.