From c19909334b5b18a4f1b48e044d81aae7beaba95e Mon Sep 17 00:00:00 2001 From: MoreTorque <104254025+MoreTore@users.noreply.github.com> Date: Sat, 28 Feb 2026 10:30:07 -0600 Subject: [PATCH] fix typo --- opendbc_repo/opendbc/car/mazda/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc_repo/opendbc/car/mazda/carcontroller.py b/opendbc_repo/opendbc/car/mazda/carcontroller.py index 940a574f5..76bd8e428 100644 --- a/opendbc_repo/opendbc/car/mazda/carcontroller.py +++ b/opendbc_repo/opendbc/car/mazda/carcontroller.py @@ -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)