Ask Your Question

Multi-robot SLAM collision avoidance

asked 2020-04-01 06:44:56 -0500

MarosROS gravatar image

updated 2020-04-01 07:26:54 -0500

Hi, my question is,

Is there a way to make robot avoid collision with another robot in the same map using SLAM gmapping (so the map is not completed), but in the same situation this other robot is smaller and only Lidar is used? A goal is to detect the other robot as an obstacle without using sensor data.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-01 17:19:50 -0500

LukeBowersox gravatar image

updated 2020-04-01 17:20:22 -0500

Could you compare the robots positions in a node and calculate the proximity between them? If they are too close have one go to its last position and then let the other proceed.

edit flag offensive delete link more


This is great idea, but i suppose i would need to save the last position of the robot somewhere to use it later.

MarosROS gravatar image MarosROS  ( 2020-04-02 13:37:21 -0500 )edit

Agreed, I would have a variable storing the last goal the robot was sent to and then republish it if you have one of these scenarios. It may take some digging into the move base code to accomplish that, but I have done similar things before and it is certainly possible. I imagine there are quite a few cases your going to need to consider to make this scheme reliable but you can do it! Let me know how it goes.

LukeBowersox gravatar image LukeBowersox  ( 2020-04-02 15:03:04 -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



Asked: 2020-04-01 06:44:56 -0500

Seen: 97 times

Last updated: Apr 01 '20