mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 18:12:05 +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: 98676fb3b05630bf6e62b0a1fbfc8804948a578c
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