Update controlsd.py

This commit is contained in:
infiniteCable2
2025-04-07 17:05:21 +02:00
committed by GitHub
parent b18363687e
commit 602f7286ca
+1
View File
@@ -87,6 +87,7 @@ class Controls:
steer_angle_without_offset = math.radians(CS.steeringAngleDeg - lp.angleOffsetDeg)
self.curvature = -self.VM.calc_curvature(steer_angle_without_offset, CS.vEgo, 0)
self.roll = lp.roll
# Update Torque Params
if self.CP.lateralTuning.which() == 'torque':