O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works…

At the same time, we can see a new global plan to avoid the obstacle in the RViz window. This feature is most interesting when the robot is moving in real environments surrounded by static and dynamic obstacles. If the robot detects a possible collision, it will change direction, and try to arrive at the goal through an alternate path.

It is important to know that the detection of such obstacles is confined into the area covered by the local planner costmap (for example, 5 x 5 meters around the robot). We can view this feature in the following screenshot:

Obstacle avoidance

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required