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

answered 2013-03-12 05:24:17 -0600

joq gravatar image

It takes time for your program to load and join the ROS message graph. Rosbag may have already published some of the messages before you are ready to receive them.

You can use rosbag play --delay=5 to delay five seconds after advertising the topic and before publishing messages. See the rosbag play documentation.