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

Move_base Costmaps vs. NavFn Costmap

asked 2012-07-03 19:09:04 -0500

David Lu gravatar image

When using standard PR2 Navigation (roslaunch pr2_2dnav pr2_2dnav.launch) there are three costmaps listed.

 $> rostopic list | grep /obstacles

Why does Navfn (which is the global planner) get its own costmap? Shouldn't it just use global_costmap?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-03 22:23:21 -0500

KruseT gravatar image

Navfn uses the same global costmal as the local planner. The topics are just for publishing (e.g. for debugging), navfn does not get the costmap via that topic.

By default navfn does not publish anything on that topic. You can imagine that it is possible to use navfn without move_base, having its own topics is for such cases, maybe.

edit flag offensive delete link more

Question Tools



Asked: 2012-07-03 19:09:04 -0500

Seen: 569 times

Last updated: Jul 03 '12