From 8bb530cec5c42788a54fbae8eedaf8a585a4978c Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 31 May 2023 16:29:11 -0700 Subject: [PATCH] Deprecate brakeUnavailable event (#28351) * bump cereal * deprecate * Update selfdrive/controls/lib/events.py old-commit-hash: fc2bd16e72a89feb270f99468cfd8d14ccbab4fd --- cereal | 2 +- selfdrive/controls/lib/events.py | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cereal b/cereal index 172b9b7dc0..7e1d67d415 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 172b9b7dc07fc5e8609a0e7160e525f1eb4b1b68 +Subproject commit 7e1d67d4155651c6288e4b65fb7788871742e752 diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index b935e24615..da358127c7 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -885,12 +885,6 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = { 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: { ET.PERMANENT: Alert( "Reverse\nGear",