This commit is contained in:
firestar5683
2025-12-07 16:50:41 -06:00
parent 4b65a4dd4d
commit 125746589a
+3 -3
View File
@@ -632,9 +632,9 @@ class Controls:
self.LaC.update_live_torque_params(lat_accel_factor, self.CP.lateralTuning.torque.latAccelOffset, friction)
else:
# Use manual parameter values from settings panel
lat_accel_factor = self.params.getFloat("SteerLatAccel")
friction = self.params.getFloat("SteerFriction")
steer_ratio = self.params.getFloat("SteerRatio")
lat_accel_factor = self.params.get_float("SteerLatAccel")
friction = self.params.get_float("SteerFriction")
steer_ratio = self.params.get_float("SteerRatio")
self.LaC.update_live_torque_params(lat_accel_factor, self.CP.lateralTuning.torque.latAccelOffset, friction)
if self.sm.updated['liveDelay'] and hasattr(self.LaC, "update_live_delay"):