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

rosbag play with --clock publishes time. That's the whole point of --clock. If the playback stops, ROS time will also stop and thus the rate never gets forward.

If the Rate is just supposed to happen every 0.1s to limit the loop (i.e. tied to the real world, not ROS time), you can use a WallRate instead.

rosbag play with --clock publishes time. That's the whole point of --clock. If the playback stops, ROS time will also stop and thus the rate never gets forward.

If the Rate is just supposed to happen every 0.1s to limit the loop (i.e. tied to the real world, not ROS time), you can use a WallRate instead.instead (not sure if that exists in rospy)