Skip to content

Commit

Permalink
Update nav2_planner/src/planner_server.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Macenski <[email protected]>
  • Loading branch information
SteveMacenski authored Jan 29, 2025
1 parent 2c510d9 commit 4dc0a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_planner/src/planner_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ void PlannerServer::isPathValid(

if (cost == nav2_costmap_2d::NO_INFORMATION && request->consider_unknown_as_obstacle) {
cost = nav2_costmap_2d::LETHAL_OBSTACLE;
} else if(cost == nav2_costmap_2d::NO_INFORMATION) {
} else if (cost == nav2_costmap_2d::NO_INFORMATION) {
cost = nav2_costmap_2d::FREE_SPACE;
}

Expand Down

0 comments on commit 4dc0a19

Please sign in to comment.