|
|
|
@ -503,6 +503,13 @@ ALERTS = [ |
|
|
|
|
AlertStatus.critical, AlertSize.full, |
|
|
|
|
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.), |
|
|
|
|
|
|
|
|
|
Alert( |
|
|
|
|
"relayMalfunction", |
|
|
|
|
"TAKE CONTROL IMMEDIATELY", |
|
|
|
|
"Harness Malfunction", |
|
|
|
|
AlertStatus.critical, AlertSize.full, |
|
|
|
|
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# not loud cancellations (user is in control) |
|
|
|
|
Alert( |
|
|
|
@ -702,6 +709,13 @@ ALERTS = [ |
|
|
|
|
AlertStatus.normal, AlertSize.mid, |
|
|
|
|
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.), |
|
|
|
|
|
|
|
|
|
Alert( |
|
|
|
|
"relayMalfunctionNoEntry", |
|
|
|
|
"openpilot Unavailable", |
|
|
|
|
"Harness Malfunction", |
|
|
|
|
AlertStatus.normal, AlertSize.mid, |
|
|
|
|
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.), |
|
|
|
|
|
|
|
|
|
# permanent alerts |
|
|
|
|
Alert( |
|
|
|
|
"steerUnavailablePermanent", |
|
|
|
@ -787,6 +801,13 @@ ALERTS = [ |
|
|
|
|
AlertStatus.normal, AlertSize.mid, |
|
|
|
|
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2), |
|
|
|
|
|
|
|
|
|
Alert( |
|
|
|
|
"relayMalfunctionPermanent", |
|
|
|
|
"Harness Malfunction", |
|
|
|
|
"Please Check Hardware", |
|
|
|
|
AlertStatus.normal, AlertSize.mid, |
|
|
|
|
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2), |
|
|
|
|
|
|
|
|
|
Alert( |
|
|
|
|
"vehicleModelInvalid", |
|
|
|
|
"Vehicle Parameter Identification Failed", |
|
|
|
@ -794,7 +815,6 @@ ALERTS = [ |
|
|
|
|
AlertStatus.normal, AlertSize.small, |
|
|
|
|
Priority.LOWEST, VisualAlert.steerRequired, AudibleAlert.none, .0, .0, .1), |
|
|
|
|
|
|
|
|
|
# offroad alerts |
|
|
|
|
Alert( |
|
|
|
|
"ldwPermanent", |
|
|
|
|
"TAKE CONTROL", |
|
|
|
|