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

Revision history [back]

In your Python script, I guess you were using Bag.write. Did you specify the t parameter and set it to the correct time stamp? As far as I know, that's the parameter that controls playback speed.

The system cannot use header.stamp for a simple reason: not every message has a stamp but rosbag needs time information. Also, the C++ rosbag library uses the raw (serialized) message data blobs to store them in the file. There is just no way to access the header without knowing the exact message definition.