diff --git a/nav2_costmap_2d/src/collision_checker.cpp b/nav2_costmap_2d/src/collision_checker.cpp index 32739ce6ee..4e8d92c127 100644 --- a/nav2_costmap_2d/src/collision_checker.cpp +++ b/nav2_costmap_2d/src/collision_checker.cpp @@ -51,7 +51,7 @@ bool CollisionChecker::isCollisionFree( const geometry_msgs::msg::Pose2D & pose) { try { - if (scorePose(pose) >= INSCRIBED_INFLATED_OBSTACLE) { + if (scorePose(pose) >= LETHAL_OBSTACLE) { return false; } return true;