Skip to content

Commit

Permalink
Update carcontroller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cydia2020 committed Sep 6, 2024
1 parent e307fec commit dcd58eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendbc/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def update(self, CC, CS, now_nanos):

# handle UI messages
fcw_alert = hud_control.visualAlert == VisualAlert.fcw
steer_alert = hud_control.visualAlert in (VisualAlert.steerRequired, VisualAlert.ldw) and not hud_control.enableVehicleBuzzer
steer_alert = hud_control.visualAlert in VisualAlert.steerRequired and not hud_control.enableVehicleBuzzer
alert_prompt = hud_control.audibleAlert in (AudibleAlert.promptDistracted, AudibleAlert.prompt) and hud_control.enableVehicleBuzzer
alert_prompt_repeat = hud_control.audibleAlert in (AudibleAlert.promptRepeat, AudibleAlert.warningSoft) and hud_control.enableVehicleBuzzer
alert_immediate = hud_control.audibleAlert == AudibleAlert.warningImmediate and hud_control.enableVehicleBuzzer
Expand Down

0 comments on commit dcd58eb

Please sign in to comment.