mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-18 11:43:42 +08:00
fix(long): widen lead follow
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user