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

Multi-robot SLAM collision avoidance

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

MarosROS gravatar image

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

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
2

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

LukeBowersox gravatar image

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

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

Comments

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 -0600 )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 -0600 )edit

@MarosROS@LukeBowersox were you able to get Multi-robot SLAM collision avoidance to work? I am also using gmapping slam with 3 turtlebot3s and while they are running independent gmapping slam nodes, due to their relative motion, the slam map becomes inaccurate when the robots are moving near each other. I understand this is because gmapping slam uses the static world assumption (i.e. moving objects are not modeled in any way) so I am wondering

hunterlineage1 gravatar image hunterlineage1  ( 2023-04-21 16:57:48 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 361 times

Last updated: Apr 01 '20