Robotics StackExchange | Archived questions

Avoidance obstacles

Hi Ros Users:

I like to do the next thing: i have a P3DX model in ROS/Gazebo with hokuyo senson. I'd like that when Hokuyo sensor detects a obstacle P3DX will be able to avoidance it. So for example if the hokuyo laser detects a obstacle in 2metres, P3DX angular velocity should change to avoidance it.

What is the way to do that? where can I start? or is there any package that does that?

Thanks a lot in advance.

Asked by Alvaro Salcedo on 2015-10-07 06:06:04 UTC

Comments

Answers

The 2d navigation stack does that for you, but you have to properly configure everything.

There are some algorithms implemented: Elastic Bands or DWA

Otherwise, the first step is to read about obstacle avoidance algorithms, choose the one that better fits your needs and implement it.

Asked by Javier V. Gómez on 2015-10-07 09:07:46 UTC

Comments