Skip to content

Commit 4d4dd18

Browse files
style(pre-commit): autofix
1 parent 7f320aa commit 4d4dd18

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,10 @@ bool MrmHandler::isDataReady()
370370
return true;
371371
}
372372

373-
void MrmHandler::checkOperationModeAvailabilityTimeout() {
374-
if ((this->now() - stamp_operation_mode_availability_).seconds() >
373+
void MrmHandler::checkOperationModeAvailabilityTimeout()
374+
{
375+
if (
376+
(this->now() - stamp_operation_mode_availability_).seconds() >
375377
param_.timeout_operation_mode_availability) {
376378
is_operation_mode_availability_timeout = true;
377379
RCLCPP_WARN_THROTTLE(
@@ -581,8 +583,7 @@ bool MrmHandler::isStopped()
581583

582584
bool MrmHandler::isEmergency() const
583585
{
584-
return !operation_mode_availability_->autonomous ||
585-
is_emergency_holding_ ||
586+
return !operation_mode_availability_->autonomous || is_emergency_holding_ ||
586587
is_operation_mode_availability_timeout;
587588
}
588589

0 commit comments

Comments
 (0)