Skip to content

Commit 6f95662

Browse files
authored
feat: refactor isArrivedAtGoal()
1 parent abd3e87 commit 6f95662

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,5 @@ bool MrmHandler::isArrivedAtGoal()
583583
{
584584
using autoware_adapi_v1_msgs::msg::OperationModeState;
585585

586-
if (operation_mode_state_->mode == OperationModeState::STOP) {
587-
return true;
588-
}
589-
590-
return false;
586+
return operation_mode_state_->mode == OperationModeState::STOP;
591587
}

0 commit comments

Comments
 (0)