Deprecate noTarget event (#26638)

deprecate notarget
old-commit-hash: 5409895ab2
taco
Shane Smiskol 2 years ago committed by GitHub
parent 02b7ec98ae
commit 634a6c9802
  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