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

Rosbag and simulated time

asked 2016-09-19 07:24:33 -0500

Randerson gravatar image

Hello all, I am trying to run a bag file if simulated time but I am not succeeding on it. Here is what happens: After I run the bag file with the command

rosbag play --clock -l laser_scanner3.bag

I am checking the timestamp published by the topic \clock, i.e. the simulated time, and the timestamp presented in another topic, which is not the same as the one from the \clock topic. I need to solve this dyssynchrony, because, otherwise, I will not be able to use the transformations from TF.

I know that this file were originally recorded with ORCA and after transformed in .bag format. Maybe, the issue is here.

Any guess on how I can solve this issue?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-19 11:02:11 -0500

Randerson gravatar image

The problem was related with a lack of sync between the several timetamps from the proper bagfile. The solution is well documented here!!!

edit flag offensive delete link more

Question Tools



Asked: 2016-09-19 07:24:33 -0500

Seen: 851 times

Last updated: Sep 19 '16