Skip to content

Commit

Permalink
do not announce emergency when stop mode!
Browse files Browse the repository at this point in the history
Signed-off-by: tkhmy <[email protected]>
  • Loading branch information
tkhmy committed Oct 23, 2023
1 parent f1763b4 commit 2756679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/signage/src/signage/route_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def emergency_checker_callback(self):
if self._parameter.ignore_emergency:
in_emergency = False
else:
in_emergency = self._autoware.information.mrm_behavior == MrmState.EMERGENCY_STOP
if self._autoware.information.operation_mode != OperationModeState.STOP:
in_emergency = self._autoware.information.mrm_behavior == MrmState.EMERGENCY_STOP

self._in_slowing_state = (
self._autoware.information.mrm_behavior == MrmState.COMFORTABLE_STOP
Expand Down

0 comments on commit 2756679

Please sign in to comment.