if sky visible

pull/1739/head
Adeeb Shihadeh 5 years ago
parent 9b6864b31a
commit e892d6a9d9
  1. 2
      selfdrive/controls/lib/events.py

@ -191,7 +191,7 @@ def no_gps_alert(CP, sm, metric):
two = sm['thermal'].hwType == log.HealthData.HwType.uno two = sm['thermal'].hwType == log.HealthData.HwType.uno
return Alert( return Alert(
"Poor GPS reception", "Poor GPS reception",
"Contact Support" if two else "Check GPS antenna placement", "If sky visible, contact support" if two else "Check GPS antenna placement",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2, creation_delay=300.), Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2, creation_delay=300.),

Loading…
Cancel
Save