Robotics StackExchange | Archived questions

How ROS navigation stack understands that there is a robot in front of the robot?

Hi

How ROS navigation stack understands that there is a robot in front of the robot? Laser sensors help for it, but which is the specific function of navigation stack that deals with it.

Thanks

Asked by Developer on 2018-05-11 07:16:32 UTC

Comments

Answers

The standard navigation stack has no way other than through sensor data to know that there is another robot in front of it. Other than using the real sensor data, you could

  • Create custom sensor data that the other robot publishes to declare its presence
  • Write a custom plugin that uses a custom data type to integrate the other robot's position.

Asked by David Lu on 2018-05-11 13:24:50 UTC

Comments

Thanks for the answer. Actually, I m okay avoidance with laser-sensor. But what I want to manipulate DWA local planner. I want robot to generate zero velocity(just stop), if it interfaces with a dynamic object.Thus, I would like to learn which specific function is responsible from collision awarene

Asked by Developer on 2018-05-12 03:34:15 UTC

There's a couple different places it could go, depending on what you want to do. Not to just plug myself, but have you seen my talk on local planning?

Asked by David Lu on 2018-05-14 11:20:34 UTC

thanks!very good talk! I want to integrate Ackerman-Robot into my multi-robot system.DWA does not generate proper velocities for that.So,I want to stop robot,if it interfaces with a dynamic object and after this object is cleaned up from cost_map,Robot should move on.In this way I try to hack DWA.

Asked by Developer on 2018-05-14 14:37:54 UTC

or Do you have another proposal regarding this issue?

Asked by Developer on 2018-05-14 15:28:26 UTC