|
|
@ -83,11 +83,11 @@ def process_hud_alert(hud_alert): |
|
|
|
|
|
|
|
|
|
|
|
# priority is: FCW, steer required, all others |
|
|
|
# priority is: FCW, steer required, all others |
|
|
|
if hud_alert == VisualAlert.fcw: |
|
|
|
if hud_alert == VisualAlert.fcw: |
|
|
|
fcw_display = VISUAL_HUD[hud_alert.raw] |
|
|
|
fcw_display = VISUAL_HUD[hud_alert] |
|
|
|
elif hud_alert in (VisualAlert.steerRequired, VisualAlert.ldw): |
|
|
|
elif hud_alert in (VisualAlert.steerRequired, VisualAlert.ldw): |
|
|
|
steer_required = VISUAL_HUD[hud_alert.raw] |
|
|
|
steer_required = VISUAL_HUD[hud_alert] |
|
|
|
else: |
|
|
|
else: |
|
|
|
acc_alert = VISUAL_HUD[hud_alert.raw] |
|
|
|
acc_alert = VISUAL_HUD[hud_alert] |
|
|
|
|
|
|
|
|
|
|
|
return fcw_display, steer_required, acc_alert |
|
|
|
return fcw_display, steer_required, acc_alert |
|
|
|
|
|
|
|
|
|
|
|