ros-navigation / navigation2

ROS 2 Navigation Framework and System
https://nav2.org/
Other
2.31k stars 1.2k forks source link

Rviz tool to get the cost of a costmap cell #4412

Open tonynajjar opened 3 weeks ago

tonynajjar commented 3 weeks ago

Feature request

Feature description

Sometimes when debugging planners or controllers it's useful to know the cost at a particular point/region in the costmap. We could have an Rviz tool that allows to click on a particular cell in the costmap and get its cost. We also would need to expose a service in costmap_2d_ros that retrieves this cost.

Implementation considerations

A first attempt was done in this PR but not completed