Toyota: don't send UI on Prius V (#25036)

* Toyota: don't send UI on Prius V

* Update selfdrive/car/toyota/carcontroller.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 98676fb3b0
taco
cydia2020 3 years ago committed by GitHub
parent a613ca3f95
commit 8a4bbac798
  1. 2
      selfdrive/car/toyota/carcontroller.py

@ -126,7 +126,7 @@ class CarController:
# forcing the pcm to disengage causes a bad fault sound so play a good sound instead
send_ui = True
if self.frame % 100 == 0 or send_ui:
if (self.frame % 100 == 0 or send_ui) and (self.CP.carFingerprint != CAR.PRIUS_V):
can_sends.append(create_ui_command(self.packer, steer_alert, pcm_cancel_cmd, hud_control.leftLaneVisible,
hud_control.rightLaneVisible, hud_control.leftLaneDepart,
hud_control.rightLaneDepart, CC.enabled))

Loading…
Cancel
Save