Skip to content

Commit

Permalink
fix
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 2756679 commit fdfb9cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/signage/src/signage/route_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ def __init__(
def emergency_checker_callback(self):
if self._parameter.ignore_emergency:
in_emergency = False
if self._autoware.information.operation_mode != OperationModeState.STOP:
in_emergency = False
else:
if self._autoware.information.operation_mode != OperationModeState.STOP:
in_emergency = self._autoware.information.mrm_behavior == MrmState.EMERGENCY_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 fdfb9cf

Please sign in to comment.