fix bug in canpacker for Toyotas with DSU connected (#221)

old-commit-hash: c7cd8b4459
commatwo_master
Willem Melching 7 years ago committed by rbiasini
parent 171647c2fc
commit a114148072
  1. 2
      selfdrive/car/toyota/carcontroller.py

@ -200,7 +200,7 @@ class CarController(object):
if ECU.DSU in self.fake_ecus:
can_sends.append(create_accel_command(self.packer, apply_accel, pcm_cancel_cmd, self.standstill_req))
else:
can_sends.append(create_accel_command(0, pcm_cancel_cmd, False))
can_sends.append(create_accel_command(self.packer, 0, pcm_cancel_cmd, False))
if frame % 10 == 0 and ECU.CAM in self.fake_ecus:
for addr in TARGET_IDS:

Loading…
Cancel
Save