local_costmap#

Caution

This documentation page has been auto-generated.

It may be missing some details.

local_costmap Quick Facts

Category

🧭 Navigation

Debian package

nav2_costmap_2d-None

License

Apache-2.0

Source code

https://github.com/ros-navigation/navigation2/tree/main/nav2_costmap_2d

The Local Costmap is a 2D grid-based costmap for environmental representations, consisting of several “layers” of data about the environment. It covers a square of a limited size centered in 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

Reference#

Subscribed topics#

Published topics#

Actions server#

Actions client#

Services#