Deprecate noTarget event (#26638)

deprecate notarget
pull/26651/head
Shane Smiskol 2 years ago committed by GitHub
parent bea7394373
commit 5409895ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cereal
  2. 9
      selfdrive/controls/lib/events.py

@ -1 +1 @@
Subproject commit 7f55399fde0b6a70c1bf7df4f86b90b0060e31ac
Subproject commit 19a0c46b71150a8dabc5644eb24f261feee45b9c

@ -916,15 +916,6 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
ET.NO_ENTRY: NoEntryAlert("Harness Relay Malfunction"),
},
EventName.noTarget: {
ET.IMMEDIATE_DISABLE: Alert(
"openpilot Canceled",
"No close lead car",
AlertStatus.normal, AlertSize.mid,
Priority.HIGH, VisualAlert.none, AudibleAlert.disengage, 3.),
ET.NO_ENTRY: NoEntryAlert("No Close Lead Car"),
},
EventName.speedTooLow: {
ET.IMMEDIATE_DISABLE: Alert(
"openpilot Canceled",

Loading…
Cancel
Save