mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-08 01:22:06 +08:00
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
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user