Toyota: Send ACC_HUD immediately on fcw (#25348)

* Send ACC_HUD immediately on fcw

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 88e034a2a3
taco
cydia2020 3 years ago committed by GitHub
parent 88ee71df67
commit 63cd100780
  1. 2
      selfdrive/car/toyota/carcontroller.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -129,7 +129,7 @@ class CarController:
hud_control.rightLaneVisible, hud_control.leftLaneDepart,
hud_control.rightLaneDepart, CC.enabled))
if self.frame % 100 == 0 and self.CP.enableDsu:
if (self.frame % 100 == 0 or send_ui) and self.CP.enableDsu:
can_sends.append(create_fcw_command(self.packer, fcw_alert))
# *** static msgs ***

@ -1 +1 @@
82d3f0a3bfe07a76983e7e4603a0553d077ba15b
c556add24a92c9d8593d9d3ebbeed9434b751d66
Loading…
Cancel
Save