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

Revision history [back]

Callbacks are methods that are executed when messages are received. If you set the queue size to 1, all old messages will be dropped if they cannot be processed and a new message comes in. That way, your callbacks will always be executed on the most recent message.