lower profile below steer speed alert (#22740)

pull/22739/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent 4bbeb27f9b
commit 3312bf6d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/controls/lib/events.py

@ -187,9 +187,9 @@ def below_steer_speed_alert(CP: car.CarParams, sm: messaging.SubMaster, metric:
speed = int(round(CP.minSteerSpeed * (CV.MS_TO_KPH if metric else CV.MS_TO_MPH)))
unit = "km/h" if metric else "mph"
return Alert(
"TAKE CONTROL",
"Steer Unavailable Below %d %s" % (speed, unit),
AlertStatus.userPrompt, AlertSize.mid,
"",
AlertStatus.userPrompt, AlertSize.small,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimePrompt, 0., 0.4, .3)

Loading…
Cancel
Save