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