fix(long): widen lead follow

This commit is contained in:
rav4kumar
2026-08-17 15:18:52 -07:00
parent 3bcbb4d1ff
commit c7462fa5c1
@@ -36,7 +36,7 @@ LEAD_GAP_WIDEN_PROFILES = {
AccelProfile.normal: 0.20,
AccelProfile.sport: 0.10,
}
LEAD_DECEL_FOR_MAX_WIDEN = 4.5 # m/s^2, lead decel that saturates the widen amount
LEAD_DECEL_FOR_MAX_WIDEN = 3.0 # m/s^2, lead decel that saturates the widen amount
GAP_WIDEN_ONSET_ALPHA = 0.15
GAP_WIDEN_RELEASE_ALPHA = 0.08
# Taper out below city speed so the lever only shapes higher-speed anticipation.