mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-13 11:53:45 +08:00
Fix
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user