ROS2 Nav2 Costmap2D not returning LETHAL_OBSTACLE when occupied cells are completely inside footprint
Function footprintCostAtPose calls function footprintCost, which calls function lineCost. Seems, that the overall footprint cost in a certain place of the costmap is calculated on how the edges of the footprint hit the costmap cells. Therefore, if there is an occupied cell completely inside the footprint, but not along the edges of the footprint, the footprintCostAtPose function will not return LETHAL_OBSTACLE, which should not be the result? As this gives false information at a specific place on the costmap by stating it being collision free.