Robotics StackExchange | Archived questions

Rosbag play stuck, tf issues?

I have a very peculiar issue here. When playing the well known bagfile rgbddatasetfreiburg1_xyz.bag and have rviz open, the clock gets stuck around 3.780429. If i play back with 10% speed, everything just plays fine. Also without rviz open, everything just works fine.

As soon as I run a node that listens to tf that error seems to happen. So i guess it is something deeper than rviz...

Any ideas what might cause this issue or how to fix it?


<launch>
    <param name="/use_sim_time" value="true"/>
    <node pkg="rosbag" type="play" name="player" output="screen" args="--clock -r 1 --pause -l $(find phx_vo)/data/rgbd_dataset_freiburg1_xyz.bag"/>
    <node pkg="rviz" type="rviz" name="rviz" args="-d $(find phx_vo)/launch/vo.rviz" required="true"/>
</launch>

Asked by J.M.T. on 2015-01-07 11:19:43 UTC

Comments

Just to be sure: you are running rosbag with the --clock option right?

Asked by gvdhoorn on 2015-01-08 01:57:52 UTC

Yes, I added my launch file for easier reproduction.

Asked by J.M.T. on 2015-01-08 02:53:24 UTC

Answers

I had the same problem, and solved it by rosbag decompress it. Because those bags are compressed, you can get the related info by checking rosbag info.

Asked by Shayens on 2018-05-02 02:02:40 UTC

Comments