Skip to content

Commit

Permalink
fix: if isArrivedAtGoal
Browse files Browse the repository at this point in the history
  • Loading branch information
TetsuKawa committed Feb 1, 2024
1 parent a19ccee commit a144472
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,11 @@ void EmergencyHandler::updateMrmState()
return;
}
}
if (isStopped()) {
transitionTo(MrmState::MRM_SUCCEEDED);
return;
else {
if (isStopped()) {
transitionTo(MrmState::MRM_SUCCEEDED);
return;
}
}
} else if (mrm_state_.state == MrmState::MRM_SUCCEEDED) {
// Do nothing(only checking common recovery events)
Expand Down

0 comments on commit a144472

Please sign in to comment.