From 2ba9624ac39bb1737bf759ab781a4fa0b25f79e8 Mon Sep 17 00:00:00 2001 From: infiniteCable <75014343+infiniteCable@users.noreply.github.com> Date: Fri, 6 Jun 2025 23:32:20 +0200 Subject: [PATCH] Update latcontrol.py --- selfdrive/controls/lib/latcontrol.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/controls/lib/latcontrol.py b/selfdrive/controls/lib/latcontrol.py index a2c28ed8c..1e438e8a3 100644 --- a/selfdrive/controls/lib/latcontrol.py +++ b/selfdrive/controls/lib/latcontrol.py @@ -13,6 +13,7 @@ class LatControl(ABC): # we define the steer torque scale as [-1.0...1.0] self.steer_max = 1.0 + self.curvature_max = 0.2 @abstractmethod def update(self, active, CS, VM, params, steer_limited_by_controls, desired_curvature, calibrated_pose, curvature_limited):