EON -> Device

pull/998/head
Willem Melching 5 years ago
parent 09a1691caf
commit ba4bf07db2
  1. 18
      selfdrive/controls/lib/alerts.py

@ -328,7 +328,7 @@ ALERTS = [
Alert( Alert(
"sensorDataInvalidNoEntry", "sensorDataInvalidNoEntry",
"openpilot Unavailable", "openpilot Unavailable",
"No Data from EON Sensors", "No Data from Device Sensors",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.), Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
@ -364,7 +364,7 @@ ALERTS = [
Alert( Alert(
"calibrationInvalid", "calibrationInvalid",
"TAKE CONTROL IMMEDIATELY", "TAKE CONTROL IMMEDIATELY",
"Calibration Invalid: Reposition EON and Recalibrate", "Calibration Invalid: Reposition Device and Recalibrate",
AlertStatus.critical, AlertSize.full, AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.), Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
@ -435,7 +435,7 @@ ALERTS = [
Alert( Alert(
"lowMemory", "lowMemory",
"TAKE CONTROL IMMEDIATELY", "TAKE CONTROL IMMEDIATELY",
"Low Memory: Reboot Your EON", "Low Memory: Reboot Your Device",
AlertStatus.critical, AlertSize.full, AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.), Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
@ -536,7 +536,7 @@ ALERTS = [
Alert( Alert(
"calibrationInvalidNoEntry", "calibrationInvalidNoEntry",
"openpilot Unavailable", "openpilot Unavailable",
"Calibration Invalid: Reposition EON and Recalibrate", "Calibration Invalid: Reposition Device and Recalibrate",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.), Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
@ -683,7 +683,7 @@ ALERTS = [
Alert( Alert(
"lowMemoryNoEntry", "lowMemoryNoEntry",
"openpilot Unavailable", "openpilot Unavailable",
"Low Memory: Reboot Your EON", "Low Memory: Reboot Your Device",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.), Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
@ -739,22 +739,22 @@ ALERTS = [
Alert( Alert(
"sensorDataInvalidPermanent", "sensorDataInvalidPermanent",
"No Data from EON Sensors", "No Data from Device Sensors",
"Reboot your EON", "Reboot your Device",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2), Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert( Alert(
"soundsUnavailablePermanent", "soundsUnavailablePermanent",
"Speaker not found", "Speaker not found",
"Reboot your EON", "Reboot your Device",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2), Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert( Alert(
"lowMemoryPermanent", "lowMemoryPermanent",
"RAM Critically Low", "RAM Critically Low",
"Reboot your EON", "Reboot your Device",
AlertStatus.normal, AlertSize.mid, AlertStatus.normal, AlertSize.mid,
Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2), Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2),

Loading…
Cancel
Save