Configuring the costmaps – global_costmap and local_costmap
Okay, now we are going to start configuring the navigation stack and all the necessary files to start it. To start with the configuration, first we will learn what costmaps are and what they are used for. Our robot will move through the map using two types of navigation: global
and local
:
- The
global
navigation is used to create paths for a goal in the map or at a far-off distance - The
local
navigation is used to create paths in the nearby distances and avoid obstacles, for example, a square window of 4 x 4 meters around the robot
These modules use costmaps to keep all the information of our map. The global
costmap is used for global
navigation and the local
costmap for local
navigation.
Get Effective Robotics Programming with ROS - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.