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

Answer/Question. Is there a problem with throttling your subscriber using a sleep statement? Put your subscriber to sleep for 1 second, then poll the topic for the newest message? Or do the callbacks wake sleeping subscribers? Or after sleeping do you get the oldest (as opposed to the newest) message in the queue ... which I guess you could handle by setting the queue to size 1.