modeld: raise minimum lateral control speed to 1.6 m/s

Port of commaai/openpilot#39174. Below this speed modeld holds the
previous desired curvature instead of following the model, so the
wheel stops chasing noisy plans while creeping or stopped.
Applied to both selfdrive/modeld and sunnypilot modeld_v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ATDgLMxRqNpP9H2Ndeg65v
This commit is contained in:
Claude
2026-11-02 02:46:33 +00:00
parent b12077a70c
commit 32f1621697
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ SEND_RAW_PRED = os.getenv('SEND_RAW_PRED')
LAT_SMOOTH_SECONDS = 0.0
LONG_SMOOTH_SECONDS = 0.3
MIN_LAT_CONTROL_SPEED = 0.3
MIN_LAT_CONTROL_SPEED = 1.6
BIG_MODEL_TIMEOUT = 60
+1 -1
View File
@@ -102,7 +102,7 @@ class ModelState(ModelStateBase):
self.LAT_SMOOTH_SECONDS = float(overrides.get('lat', ".0"))
self.LONG_SMOOTH_SECONDS = float(overrides.get('long', ".0"))
self.MIN_LAT_CONTROL_SPEED = 0.3
self.MIN_LAT_CONTROL_SPEED = 1.6
self.PLANPLUS_CONTROL: float = 1.0
self.chestnut = chestnut