force stop jerk scale .2

This commit is contained in:
whoisdomi
2026-08-25 20:55:11 -05:00
parent adfa7f7719
commit 385924356e
+4 -3
View File
@@ -31,9 +31,10 @@ from openpilot.starpilot.controls.lib.starpilot_vcruise import StarPilotVCruise
from openpilot.starpilot.controls.lib.weather_checker import WeatherChecker
RADARLESS_TRACK_HOLD_TIME = 0.45
FORCE_STOP_JERK_SCALE = 0.25 # accel-change cost multiplier for the whole stop approach,
# envelope included (125 -> ~31). Lower = reaches the braking
# target sooner; it does not make the target deeper.
FORCE_STOP_JERK_SCALE = 0.20 # accel-change cost multiplier for the whole stop approach,
# envelope included (125 -> 25). Lower = reaches the braking
# target sooner; it does not make the target deeper. Response
# is super-linear here, so raise it if onset feels like a step.
FORCE_STOP_JERK_SCALE_OVERRIDES = {
# The Elantra's current force-stop ramp is smooth, but it waits too long
# before building decel and then arrives at the initial brake too abruptly.