ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.