Update latcontrol_curvature.py

This commit is contained in:
infiniteCable
2025-06-10 17:35:52 +02:00
committed by GitHub
parent 5260d68b9f
commit 2b156073d5
@@ -36,8 +36,6 @@ class LatControlCurvature(LatControl):
pid_log.error = float(desired_curvature - actual_curvature)
freeze_integrator = steer_limited_by_controls or CS.steeringPressed or CS.vEgo < 5
if CS.steeringPressed:
self.pid.i *= 0.8 # soft decay
output_curvature = self.pid.update(pid_log.error, feedforward=gravity_adjusted_curvature, speed=CS.vEgo, freeze_integrator=freeze_integrator)