hide camera view when in reverse (#2144)

* partially hide camera view when in reverse

* lowest priority

* update ref commit

* fix type

* update refs
old-commit-hash: 9cd88526b5
commatwo_master
Adeeb Shihadeh 5 years ago committed by GitHub
parent a351212c04
commit 5b9466a76e
  1. 5
      selfdrive/controls/lib/events.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -721,6 +721,11 @@ EVENTS = {
}, },
EventName.reverseGear: { EventName.reverseGear: {
ET.PERMANENT: Alert(
"Reverse Gear",
"",
AlertStatus.normal, AlertSize.full,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
ET.IMMEDIATE_DISABLE: ImmediateDisableAlert("Reverse Gear"), ET.IMMEDIATE_DISABLE: ImmediateDisableAlert("Reverse Gear"),
ET.NO_ENTRY: NoEntryAlert("Reverse Gear"), ET.NO_ENTRY: NoEntryAlert("Reverse Gear"),
}, },

@ -1 +1 @@
86f4d86cd7ae704d97efea1638f1a510d950c9bc b47257005e7408737c66463c45f5db36153a849d
Loading…
Cancel
Save