global_costmap
#
Caution
This documentation page has been auto-generated.
It may be missing some details.
global_costmap
Quick Facts
- Category
- Debian package
nav2_costmap_2d-None
- License
Apache-2.0
- Source code
https://github.com/ros-navigation/navigation2/tree/main/nav2_costmap_2d
The Global Costmap is a 2D grid-based costmap for environmental representations, consisting of several “layers” of data about the environment. It covers all the environment surrounding the robot.
To configure this node, please refer to the Nav2 Costmap 2D Configuration guide.
For more information about this node and its usage, check Nav2 Costmap documentation and the nav2_costmap_2d package.
Node management#
How to check the status of the node?#
# this a copy-pastable snippet to check the status
# this a copy-pastable snippet using rosnode/rostopic to check the node is working
How to access the node’s logs?#
# this a copy-pastable snippet
How to start/stop/restart the node#
# this a copy-pastable snippet
Using in your code/application#
Access via the robot’s GUI#
[insert screenshots here]
Access via ROS standard tools#
# this a copy-pastable snippet
[insert screenshots here]
Using in Python#
# this a copy-pastable snippet
Using in C++#
# this a copy-pastable snippet