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

How do I record multiple paths?

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

Corey Montella gravatar image

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

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

Comments

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

1 Answer

Sort by ยป oldest newest most voted
2

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

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.

https://code.ros.org/trac/ros/ticket/3755

You should update ROS or more specifically ros_comm.

edit flag offensive delete link more

Comments

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

Question Tools

Stats

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

Seen: 482 times

Last updated: Dec 23 '11