Skip to content

Commit 714975e

Browse files
committed
Prius v also doesn't send ACC_HUD
1 parent 8245ba4 commit 714975e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

selfdrive/car/toyota/carcontroller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ def update(self, CC, CS):
124124
# forcing the pcm to disengage causes a bad fault sound so play a good sound instead
125125
send_ui = True
126126

127-
if (self.frame % 100 == 0 or send_ui) and (self.CP.carFingerprint != CAR.PRIUS_V):
127+
if (self.frame % 100 == 0 or send_ui) and self.CP.carFingerprint != CAR.PRIUS_V:
128128
can_sends.append(create_ui_command(self.packer, steer_alert, pcm_cancel_cmd, hud_control.leftLaneVisible,
129129
hud_control.rightLaneVisible, hud_control.leftLaneDepart,
130130
hud_control.rightLaneDepart, CC.enabled))
131131

132-
if (self.frame % 100 == 0 or send_ui) and self.CP.enableDsu:
132+
if (self.frame % 100 == 0 or send_ui) and self.CP.enableDsu and self.CP.carFingerprint != CAR.PRIUS_V:
133133
can_sends.append(create_fcw_command(self.packer, fcw_alert))
134134

135135
# *** static msgs ***

0 commit comments

Comments
 (0)