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

Revision history [back]

You can use the rosbag API to get messages one at a time; if your code only grabs a new message every time it finishes with the previous one, you can't miss a frame.

A quicker, dirtier solution is to use the -r flag to rosbag to slow down the playback rate to something your code can handle.