This commit is contained in:
MoreTorque
2026-02-28 10:30:07 -06:00
committed by Test User
parent 487d27df68
commit c19909334b
@@ -38,7 +38,7 @@ class CarController(CarControllerBase):
CS.out.steeringTorque, self.ccp)
if self.CP.flags & MazdaSafetyFlags.TORQUE_INTERCEPTOR:
if CS.ti_lkas_allowed:
ti_new_torque = int(round(CC.actuators.steer * self.ccp.STEER_MAX))
ti_new_torque = int(round(CC.actuators.torque * self.ccp.STEER_MAX))
ti_apply_torque = apply_driver_steer_torque_limits(ti_new_torque, self.apply_torque_last,
CS.out.steeringTorque, self.ccp)