mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-05 22:05:42 +08:00
MADS: block cruise engage event
This commit is contained in:
@@ -558,6 +558,14 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
|
||||
Priority.LOW, VisualAlert.none, AudibleAlert.none, 1.),
|
||||
},
|
||||
|
||||
EventName.cruiseEngageBlocked: {
|
||||
ET.WARNING: Alert(
|
||||
"openpilot Unavailable",
|
||||
"Pedal Pressed During Cruise Engage",
|
||||
AlertStatus.normal, AlertSize.mid,
|
||||
Priority.LOW, VisualAlert.brakePressed, AudibleAlert.refuse, 3.),
|
||||
},
|
||||
|
||||
EventName.steerSaturated: {
|
||||
ET.WARNING: Alert(
|
||||
"Take Control",
|
||||
|
||||
Reference in New Issue
Block a user