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

rxbag timeline and plots incorrect

asked 2012-12-25 02:36:12 -0600

nunojpg gravatar image

updated 2012-12-29 18:13:04 -0600

130s gravatar image

I tried rxbag with the bag at:

The result is in screenshot:

The base_scan topic only shows messages up to 0:08, while there are more, just like tf. On the plot the translation.y is not getting plotted an instead it is a straight line at y=0.

This is in Fuerte with all the apt-get updates.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-29 15:50:23 -0600

Dirk Thomas gravatar image

Beside rxbag also the new replacement rqt_bag shows the same effect.

The bag file contains one message (at about 0:08) which timestamp is not in-order. You can fix the bag file by calling bagsort YOUR-BAG.bag YOUR-FIXED-BAG.bag.

Unfortunately that bagsort script is currently broken. I already committed a patch - if you don't want to wait for the new release you can just apply the simple fix from manually.

edit flag offensive delete link more

Question Tools


Asked: 2012-12-25 02:36:12 -0600

Seen: 206 times

Last updated: Dec 29 '12