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

Can I pass a nav_msgs/Path message directly to local planner?

asked 2012-02-27 04:06:33 -0500

Procópio gravatar image

updated 2014-01-28 17:11:30 -0500

ngrennan gravatar image

Hi. Within the move_base, the nav_msgs/Path is passed internally from the global planner to the local planner.

If I generate a path message with an external node, how can I pass it to the local planner within move_base? Should I always write a plugin that adheres to global planner interface? Is there a way to pass it as a "standard" ros message? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2012-02-27 04:12:58 -0500

DimitriProsser gravatar image

If you want to use all of the functionality of move_base, you're going to have to write your own global planner plugin. base_local_planner does not subscribe to a path, so you cannot publish it over a topic. In fact, base_local_planner has no external access at all. It can only be accessed by using move_base and interface methods, and move_base provides no methods for externally setting the plan.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2012-02-27 04:06:33 -0500

Seen: 679 times

Last updated: Feb 27 '12