@ -3,7 +3,7 @@ from cereal import car, log
# Priority
class Priority :
LOWEST = 0
LOW_LOWEST = 1
LOWER = 1
LOW = 2
MID = 3
HIGH = 4
@ -169,28 +169,28 @@ ALERTS = [
" Be ready to take over at any time " ,
" Always keep hands on wheel and eyes on road " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Alert (
" startupMaster " ,
" WARNING: This branch is not tested " ,
" Always keep hands on wheel and eyes on road " ,
AlertStatus . userPrompt , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Alert (
" startupNoControl " ,
" Dashcam mode " ,
" Always keep hands on wheel and eyes on road " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Alert (
" startupNoCar " ,
" Dashcam mode with unsupported car " ,
" Always keep hands on wheel and eyes on road " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , 15. ) ,
Alert (
" ethicalDilemma " ,
@ -693,21 +693,21 @@ ALERTS = [
" LKAS Fault: Restart the car to engage " ,
" " ,
AlertStatus . normal , AlertSize . small ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" brakeUnavailablePermanent " ,
" Cruise Fault: Restart the car to engage " ,
" " ,
AlertStatus . normal , AlertSize . small ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" lowSpeedLockoutPermanent " ,
" Cruise Fault: Restart the car to engage " ,
" " ,
AlertStatus . normal , AlertSize . small ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" calibrationIncompletePermanent " ,
@ -721,14 +721,14 @@ ALERTS = [
" Unsupported Giraffe Configuration " ,
" Visit comma.ai/tg " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" internetConnectivityNeededPermanent " ,
" Please connect to Internet " ,
" An Update Check Is Required to Engage " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" communityFeatureDisallowedPermanent " ,
@ -742,28 +742,28 @@ ALERTS = [
" No Data from Device Sensors " ,
" Reboot your Device " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" soundsUnavailablePermanent " ,
" Speaker not found " ,
" Reboot your Device " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" lowMemoryPermanent " ,
" RAM Critically Low " ,
" Reboot your Device " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" carUnrecognizedPermanent " ,
" Dashcam Mode " ,
" Car Unrecognized " ,
AlertStatus . normal , AlertSize . mid ,
Priority . LOW_LOWEST , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Priority . LOWER , VisualAlert . none , AudibleAlert . none , 0. , 0. , .2 ) ,
Alert (
" vehicleModelInvalid " ,