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

How do I record multiple paths?

asked 2011-12-23 11:20:20 -0500

Corey Montella gravatar image

updated 2011-12-23 11:21:00 -0500

When I view bag files of recorded autonomous navigation, the global plan, and local plan seem to all get recorded under the same topic, even though they are published under three separate topics. This causes the plan to flash constantly between the three. How can I record these topic separately?

For example my topics are: /move_base/DWAPlannerROS/global_plan /move_base/DWAPlannerROS/local_plan

And when I play back the bag file, the only topic is: /move_base/DWAPlannerROS/global_plan

But the points from the local plan are saved in that topic as well as the global plan points.

edit retag flag offensive close merge delete


Could you post the command you're using to record your bags?
Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2011-12-23 13:09:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-23 16:11:59 -0500

dornhege gravatar image

There recently was a bug in rosbag that recorded topics from the same node into one. It sounds like you triggered that.

You should update ROS or more specifically ros_comm.

edit flag offensive delete link more


Thanks, updating it fixed the problem!
Corey Montella gravatar image Corey Montella  ( 2012-01-05 05:24:54 -0500 )edit

Question Tools


Asked: 2011-12-23 11:20:20 -0500

Seen: 438 times

Last updated: Dec 23 '11