From 9f8c69cfb42a983efa535ccbe7a101a813616115 Mon Sep 17 00:00:00 2001 From: Tony Najjar Date: Tue, 26 Nov 2024 17:55:58 +0100 Subject: [PATCH] change back to NO_INFORMATION Signed-off-by: Tony Najjar --- nav2_costmap_2d/src/costmap_2d_ros.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_costmap_2d/src/costmap_2d_ros.cpp b/nav2_costmap_2d/src/costmap_2d_ros.cpp index 046b9d48dc..0699469320 100644 --- a/nav2_costmap_2d/src/costmap_2d_ros.cpp +++ b/nav2_costmap_2d/src/costmap_2d_ros.cpp @@ -868,7 +868,7 @@ void Costmap2DROS::getCostsCallback( pose_transformed.pose.position.y, mx, my); if (!in_bounds) { - response->costs.push_back(LETHAL_OBSTACLE); + response->costs.push_back(NO_INFORMATION); continue; } // Get the cost at the map coordinates