Ask Your Question

Revision history [back]

Well you could use a service, that way it behaves in a request/response kind of way. Check this service nav_msgs/GetPlan from here

You'll send:

geometry_msgs/PoseStamped start

geometry_msgs/PoseStamped goal

float32 tolerance

and you'll get a:

nav_msgs/Path plan

If you need to learn more about services the wiki is your friend

Good luck!