File tree 1 file changed +5
-4
lines changed
system/mrm_handler/src/mrm_handler
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -370,8 +370,10 @@ bool MrmHandler::isDataReady()
370
370
return true ;
371
371
}
372
372
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 () >
375
377
param_.timeout_operation_mode_availability ) {
376
378
is_operation_mode_availability_timeout = true ;
377
379
RCLCPP_WARN_THROTTLE (
@@ -581,8 +583,7 @@ bool MrmHandler::isStopped()
581
583
582
584
bool MrmHandler::isEmergency () const
583
585
{
584
- return !operation_mode_availability_->autonomous ||
585
- is_emergency_holding_ ||
586
+ return !operation_mode_availability_->autonomous || is_emergency_holding_ ||
586
587
is_operation_mode_availability_timeout;
587
588
}
588
589
You can’t perform that action at this time.
0 commit comments