Skip to content

Commit aa671b1

Browse files
committed
break, not continue
1 parent ca54ad9 commit aa671b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nav2_planner/src/planner_server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,9 @@ void PlannerServer::computePlanThroughPoses()
437437
throw ex;
438438
} else {
439439
RCLCPP_WARN(
440-
get_logger(), "Goal %d coordinates of (%.2f, %.2f) was outside bounds but there are still goals inside. Ignoring",
440+
get_logger(), "Goal %d coordinates of (%.2f, %.2f) was outside bounds but there are still goals inside. Ignoring the rest",
441441
i, curr_goal.pose.position.x, curr_goal.pose.position.y);
442-
continue;
442+
break;
443443
}
444444
} catch (nav2_core::StartOccupied & ex) {
445445
RCLCPP_WARN(

0 commit comments

Comments
 (0)