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

Global planner for multiple robots

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

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

2 Answers

Sort by ยป oldest newest most voted
1

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

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 image gavran  ( 2016-06-23 04:44:35 -0600 )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 image mgruhler  ( 2016-06-23 06:14:35 -0600 )edit
0

answered 2020-02-22 09:49:09 -0600

chunkitleung gravatar image

Hey I wonder if you find out how to navigate multiple robots in one simulation. Because I myself also have the same question, this link should help you: [https://answers.ros.org/question/4143...] mgruhler is right, move_base is actually only for one robot. But defining different namespace can realize the multiple robots simulation :)

Greetings

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 720 times

Last updated: Feb 22 '20