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

Rosbag play stuck, tf issues?

asked 2015-01-07 10:19:43 -0500

J.M.T. gravatar image

updated 2015-01-08 01:51:33 -0500

I have a very peculiar issue here. When playing the well known bagfile rgbd_dataset_freiburg1_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>
edit retag flag offensive close merge delete

Comments

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

gvdhoorn gravatar image gvdhoorn  ( 2015-01-08 00:57:52 -0500 )edit

Yes, I added my launch file for easier reproduction.

J.M.T. gravatar image J.M.T.  ( 2015-01-08 01:53:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-02 02:02:40 -0500

Shayens gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-07 10:19:43 -0500

Seen: 2,398 times

Last updated: Jan 08 '15