ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Cost value of a specific spot in cost map inflation layer?

asked 2022-10-08 09:53:46 -0500

johnjamesmiller gravatar image

Is there a tool to see the cost value at a specified place in the cost map? Using the 2d cost layer map with inflation layer. With lethal value set at the default 100 I can not navigate threw an area I should be able to. When I put it to something really high I can navigate but picking some arbitrary large number doesn’t feel like a great idea.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2022-10-08 14:29:37 -0500

updated 2022-10-08 14:30:03 -0500

They are visualized via the color scheme in rviz, but obviously that's not an exact value. You should subscribe to the costmap topic and query it for the location value you're interested in.

The lethal_cost_thresholdparameter is only used by the static layer for interpreting the probabilistic values in the map you provide it for the static layer only. https://github.com/ros-planning/navig...

That should not be impacting your sensor processing or other layers / costmap in general. If you set it higher than that, it thresholds it back down to 100 (https://github.com/ros-planning/navig...) so I don't think there is actually any difference between setting it to 101 (or 700) vs 100.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2022-10-08 09:53:46 -0500

Seen: 178 times

Last updated: Oct 08 '22