|
|
@ -129,6 +129,7 @@ class CarController: |
|
|
|
# toyota can trace shows this message at 42Hz, with counter adding alternatively 1 and 2; |
|
|
|
# toyota can trace shows this message at 42Hz, with counter adding alternatively 1 and 2; |
|
|
|
# sending it at 100Hz seem to allow a higher rate limit, as the rate limit seems imposed |
|
|
|
# sending it at 100Hz seem to allow a higher rate limit, as the rate limit seems imposed |
|
|
|
# on consecutive messages |
|
|
|
# on consecutive messages |
|
|
|
|
|
|
|
|
|
|
|
angle_control = self.CP.steerControlType == SteerControlType.angle |
|
|
|
angle_control = self.CP.steerControlType == SteerControlType.angle |
|
|
|
can_sends.append(create_steer_command(self.packer, apply_steer, apply_steer_req and not angle_control)) |
|
|
|
can_sends.append(create_steer_command(self.packer, apply_steer, apply_steer_req and not angle_control)) |
|
|
|
if TSS2_CAR: |
|
|
|
if TSS2_CAR: |
|
|
|