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

rostopic hz doesn't work when using playing from a bag

asked 2012-12-25 01:15:30 -0500

nunojpg gravatar image

Not sure if my problem is similiar to [1], but this have been flagged as solved and I still have it in Fuerte.

I follow the tutorial "MappingFromLoggedData" at [2], and after I start "rosbag play ..." if I do a "rostopic hz /tf" there is no output.

The map gets generated correctly, so everthing else is fine!

[1] trac/ros/ticket/2950 [2] wiki/slam_gmapping/Tutorials/MappingFromLoggedData

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-12-25 15:49:19 -0500

Chad Rockey gravatar image

Have you tried playing with rosbag play --clock?

rostopic hz requires a time component. If the 'use_sim_time' parameter is set to true, you need to publish the time using rosbag play --clock.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-25 01:15:30 -0500

Seen: 682 times

Last updated: Dec 25 '12