Ask Your Question
1

Global planner for multiple robots

asked 2016-06-22 10:42:06 -0500

gavran gravatar image

Hi,

is there a global planner that would take into account multiple robots' locations and multiple goals? Or is there an interface to move_base that would enable writing one?

The nav_core::BaseGlobalPlanner is not flexible enough for something like that as it accepts only the initial and final position as the arguments. Any ideas how to achieve this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-06-23 01:43:46 -0500

mgruhler gravatar image

AFAIK, there is none. You would need to write this planner yourself. As this planner, however, will need to run once providing paths for all robots at the same time, this will probably need to be some kind of multi-master system. move_base is intended for single robots. So I'd follow those steps:

  1. setup multi robot system
  2. write standalone global planner providing the paths for all robots
  3. write global planner plugin for move_base that takes as input directly the plan for this specific robot from the above global planner. You can use whatever mechanism you want, Topic, Service, Action, ...
edit flag offensive delete link more

Comments

sounds like a nice idea. but how would I identify robot once inside global planner plugin? only based on position or is there some other possibility?

gavran gravatar imagegavran ( 2016-06-23 04:44:35 -0500 )edit

depends how you set up the multi-robot (and thus ROS multimaster) system. Probably through a namespace. I am not sure, but i think this is more or less how it is done in rocon

mgruhler gravatar imagemgruhler ( 2016-06-23 06:14:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-22 10:42:06 -0500

Seen: 220 times

Last updated: Jun 23 '16