ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
One easy way is to increase queue size of subscriber.
ros::Subscriber sub = n.subscribe("topic_name", 1000, subscriber_callback); // queue size is 1000