|
|
@ -170,7 +170,7 @@ def calibration_incomplete_alert(CP, sm, metric): |
|
|
|
speed = int(Filter.MIN_SPEED * (CV.MS_TO_KPH if metric else CV.MS_TO_MPH)) |
|
|
|
speed = int(Filter.MIN_SPEED * (CV.MS_TO_KPH if metric else CV.MS_TO_MPH)) |
|
|
|
unit = "kph" if metric else "mph" |
|
|
|
unit = "kph" if metric else "mph" |
|
|
|
return Alert( |
|
|
|
return Alert( |
|
|
|
"Calibration in Progress: %d" % sm['liveCalibration'].calPerc, |
|
|
|
"Calibration in Progress: %d%%" % sm['liveCalibration'].calPerc, |
|
|
|
"Drive Above %d %s" % (speed, unit), |
|
|
|
"Drive Above %d %s" % (speed, unit), |
|
|
|
AlertStatus.normal, AlertSize.mid, |
|
|
|
AlertStatus.normal, AlertSize.mid, |
|
|
|
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2) |
|
|
|
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2) |
|
|
|