reduce startup alert duration to 10s (#22163)
* reduce startup alert duration to 10s * update refs * update refs * update refspull/22108/head
parent
251a074b20
commit
1c750975fc
|
@ -224,7 +224,7 @@ def startup_fuzzy_fingerprint_alert(CP: car.CarParams, sm: messaging.SubMaster,
|
|||
"WARNING: No Exact Match on Car Model",
|
||||
f"Closest Match: {CP.carFingerprint.title()[:40]}",
|
||||
AlertStatus.userPrompt, AlertSize.mid,
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.)
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 10.)
|
||||
|
||||
|
||||
def joystick_alert(CP: car.CarParams, sm: messaging.SubMaster, metric: bool) -> Alert:
|
||||
|
@ -262,7 +262,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
|
|||
"Be ready to take over at any time",
|
||||
"Always keep hands on wheel and eyes on road",
|
||||
AlertStatus.normal, AlertSize.mid,
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 10.),
|
||||
},
|
||||
|
||||
EventName.startupMaster: {
|
||||
|
@ -270,7 +270,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
|
|||
"WARNING: This branch is not tested",
|
||||
"Always keep hands on wheel and eyes on road",
|
||||
AlertStatus.userPrompt, AlertSize.mid,
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 10.),
|
||||
},
|
||||
|
||||
# Car is recognized, but marked as dashcam only
|
||||
|
@ -279,7 +279,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
|
|||
"Dashcam mode",
|
||||
"Always keep hands on wheel and eyes on road",
|
||||
AlertStatus.normal, AlertSize.mid,
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 10.),
|
||||
},
|
||||
|
||||
# Car is not recognized
|
||||
|
@ -288,7 +288,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
|
|||
"Dashcam mode for unsupported car",
|
||||
"Always keep hands on wheel and eyes on road",
|
||||
AlertStatus.normal, AlertSize.mid,
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 10.),
|
||||
},
|
||||
|
||||
# openpilot uses the version strings from various ECUs to detect the correct car model.
|
||||
|
@ -308,7 +308,7 @@ EVENTS: Dict[int, Dict[str, Union[Alert, Callable[[Any, messaging.SubMaster, boo
|
|||
"Car Unrecognized",
|
||||
"Check All Connections",
|
||||
AlertStatus.userPrompt, AlertSize.mid,
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
|
||||
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 10.),
|
||||
},
|
||||
|
||||
EventName.dashcamMode: {
|
||||
|
|
|
@ -1 +1 @@
|
|||
f8e923d707fc37bdc06760c4d4a40425ad270d51
|
||||
f283a33700e03e358b84db0c8fbf3b4d6740ee64
|
Loading…
Reference in New Issue