ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

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?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 278 times

Last updated: Sep 19 '16