0
$\begingroup$

Rosanswers logo

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

 $> rostopic list | grep /obstacles
 /move_base_node/NavfnROS/NavfnROS_costmap/obstacles
 /move_base_node/global_costmap/obstacles
 /move_base_node/local_costmap/obstacles

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


Originally posted by David Lu on ROS Answers with karma: 10932 on 2012-07-03

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by KruseT with karma: 7848 on 2012-07-03

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.