Deprecate brakeUnavailable event (#28351)

* bump cereal

* deprecate

* Update selfdrive/controls/lib/events.py
old-commit-hash: fc2bd16e72
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 37fb563225
commit 8bb530cec5
  1. 2
      cereal
  2. 6
      selfdrive/controls/lib/events.py

@ -1 +1 @@
Subproject commit 172b9b7dc07fc5e8609a0e7160e525f1eb4b1b68 Subproject commit 7e1d67d4155651c6288e4b65fb7788871742e752

@ -885,12 +885,6 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
ET.NO_ENTRY: NoEntryAlert("LKAS Fault: Restart the Car"), ET.NO_ENTRY: NoEntryAlert("LKAS Fault: Restart the Car"),
}, },
EventName.brakeUnavailable: {
ET.IMMEDIATE_DISABLE: ImmediateDisableAlert("Cruise Fault: Restart the Car"),
ET.PERMANENT: NormalPermanentAlert("Cruise Fault: Restart the car to engage"),
ET.NO_ENTRY: NoEntryAlert("Cruise Fault: Restart the Car"),
},
EventName.reverseGear: { EventName.reverseGear: {
ET.PERMANENT: Alert( ET.PERMANENT: Alert(
"Reverse\nGear", "Reverse\nGear",

Loading…
Cancel
Save