From 267974e00200324805c76ef2e8ae279efa7757a1 Mon Sep 17 00:00:00 2001 From: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Tue, 28 Mar 2023 19:04:14 -0400 Subject: [PATCH] remove accFaultedTemp, add steerTimeLimit (#27720) * remove accFaultedTemp * retry CI * bump cereal * grab the new steerTimeLimit Event * bump cereal to updated master --- cereal | 2 +- selfdrive/controls/lib/events.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cereal b/cereal index e276226dbe..1f0d21df73 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit e276226dbe38c811a4c1f3a9b689cd3ecbd05a20 +Subproject commit 1f0d21df7307228218a4b874a3fdcd819b1558af diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index e4ddfb5326..67a4735e14 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -658,6 +658,11 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = { ET.NO_ENTRY: NoEntryAlert("Steering Temporarily Unavailable"), }, + EventName.steerTimeLimit: { + ET.SOFT_DISABLE: soft_disable_alert("Vehicle Steering Time Limit"), + ET.NO_ENTRY: NoEntryAlert("Vehicle Steering Time Limit"), + }, + EventName.outOfSpace: { ET.PERMANENT: out_of_space_alert, ET.NO_ENTRY: NoEntryAlert("Out of Storage"), @@ -811,10 +816,6 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = { ET.NO_ENTRY: NoEntryAlert("Cruise Fault: Restart the Car"), }, - EventName.accFaultedTemp: { - ET.NO_ENTRY: NoEntryAlert("Cruise Temporarily Faulted"), - }, - EventName.controlsMismatch: { ET.IMMEDIATE_DISABLE: ImmediateDisableAlert("Controls Mismatch"), ET.NO_ENTRY: NoEntryAlert("Controls Mismatch"),