Skip to content

Commit

Permalink
Fix UNKNOWN WPF status handling
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyMerzlyakov committed Sep 7, 2023
1 parent 2912c92 commit 85b6b71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nav2_waypoint_follower/src/waypoint_follower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,7 @@ WaypointFollower::followWaypoints()
}
}

if (current_goal_status_.status != ActionStatus::PROCESSING &&
current_goal_status_.status != ActionStatus::UNKNOWN)
{
if (current_goal_status_.status != ActionStatus::PROCESSING) {
// Update server state
goal_index++;
new_goal = true;
Expand Down

0 comments on commit 85b6b71

Please sign in to comment.