update refs

old-commit-hash: a4353303d4
taco
Shane Smiskol 3 years ago
parent 53fff66742
commit 01d005c322
  1. 9
      selfdrive/controls/lib/events.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -30,6 +30,7 @@ class Priority(IntEnum):
class ET:
ENABLE = 'enable'
PRE_ENABLE = 'preEnable'
OVERRIDE = 'override'
NO_ENTRY = 'noEntry'
WARNING = 'warning'
USER_DISABLE = 'userDisable'
@ -549,6 +550,14 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .1, creation_delay=1.),
},
EventName.gasPressedOverride: {
ET.OVERRIDE: Alert(
"",
"",
AlertStatus.normal, AlertSize.none,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, .1),
},
EventName.wrongCarMode: {
ET.USER_DISABLE: EngagementAlert(AudibleAlert.disengage),
ET.NO_ENTRY: wrong_car_mode_alert,

@ -1 +1 @@
34c6b9b9a97a448138fa86ff6269d37f68aacb58
ca3171c0f912afec3a349ce8ca0a4d7e41cd7127
Loading…
Cancel
Save