Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

rosbag will not modify timestamp data inside the bag file. However it will publish as accurately as possible related to the receive time during the playback. Two parallel message topics are not synchronized or guarenteed in order. Going through rosbag adds another layer of complexity.

The recommended approach to synchronize parallel topics is a message_filter based synchronizer:

There are standard filters for ExactTime Policy as well as ApproximateTIme documented there.