Update controlsd.py

This commit is contained in:
infiniteCable
2025-06-07 00:02:05 +02:00
committed by GitHub
parent 88d3007913
commit 79f4b70dbd
+2
View File
@@ -244,6 +244,8 @@ class Controls(ControlsExt):
lat_tuning = self.CP.lateralTuning.which()
if self.CP.steerControlType == car.CarParams.SteerControlType.angle:
cs.lateralControlState.angleState = lac_log
elif self.CP.steerControlType == car.CarParams.SteerControlType.curvatureDEPRECATED:
cs.lateralControlState.curvatureStateDEPRECATED = lac_log
elif lat_tuning == 'pid':
cs.lateralControlState.pidState = lac_log
elif lat_tuning == 'torque':