diff --git a/selfdrive/controls/lib/alerts.py b/selfdrive/controls/lib/alerts.py index b638ae621..f3a8ed810 100644 --- a/selfdrive/controls/lib/alerts.py +++ b/selfdrive/controls/lib/alerts.py @@ -173,6 +173,20 @@ ALERTS = [ AlertStatus.normal, AlertSize.mid, Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., 15.), + Alert( + "startupNoControl", + "行車記錄模式", + "請您將手放在方向盤上並持續注意路況", + AlertStatus.normal, AlertSize.mid, + Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., 15.), + + Alert( + "startupNoCar", + "行車記錄模式 (尚未支援車種)", + "請您將手放在方向盤上並持續注意路況", + AlertStatus.normal, AlertSize.mid, + Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., 15.), + Alert( "ethicalDilemma", "即刻接管控制", @@ -279,6 +293,13 @@ ALERTS = [ AlertStatus.normal, AlertSize.mid, Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.), + Alert( + "sensorDataInvalidNoEntry", + "無法使用 dragonpilot", + "沒有收到任何來自 EON 傳感器的資料", + AlertStatus.normal, AlertSize.mid, + Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.), + # Cancellation alerts causing soft disabling Alert( "overheat", @@ -627,6 +648,13 @@ ALERTS = [ AlertStatus.normal, AlertSize.mid, Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2), + Alert( + "sensorDataInvalidPermanent", + "沒有收到任何來自 EON 傳感器的資料", + "請重啟您的 EON", + AlertStatus.normal, AlertSize.mid, + Priority.LOW_LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2), + Alert( "vehicleModelInvalid", "車輛參數識別失敗",