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

Path planning

In the RotorS simulator, we can prepare a demo environment with a power plant and a waypoint publisher to experiment with different planning algorithms. A file with the Octree representation of a demo environment including the power plant can be found in the rotors_gazebo/resources folder and can be used with the octomap_server package. The Octree representation allows for efficient collision checking in the planner and is applicable for 3D environments.

The following command will execute our experimental setup: 

$ roslaunch rotors_gazebo mav_powerplant_with_waypoint_publisher.launch  

Following is the output:

MAV: Path planning ...

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