From 12d3366c55e765eaeba3814349054c50a2c433e8 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 21 May 2020 14:43:07 -0700 Subject: [PATCH] Add percent sign to calibration screen old-commit-hash: 517826c1e1263f0445c125a002223906b73538a8 --- selfdrive/controls/lib/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index 512d0044bd..4693f0c9cc 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -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)) unit = "kph" if metric else "mph" return Alert( - "Calibration in Progress: %d" % sm['liveCalibration'].calPerc, + "Calibration in Progress: %d%%" % sm['liveCalibration'].calPerc, "Drive Above %d %s" % (speed, unit), AlertStatus.normal, AlertSize.mid, Priority.LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2)