Ford native curvature#3405
Conversation
Car behavior reportReplays driving segments through this PR and compares the behavior to master. Testing 91 segments for: FORD_BRONCO_SPORT_MK1, FORD_ESCAPE_MK4, FORD_ESCAPE_MK4_5, FORD_EXPLORER_MK6, FORD_F_150_MK14, FORD_F_150_LIGHTNING_MK1, FORD_FOCUS_MK4, FORD_MAVERICK_MK1, FORD_MUSTANG_MACH_E_MK1, FORD_RANGER_MK2 ✅ 0 changed, 91 passed, 0 errors |
|
Removed rate limits as currently applied in VW MEB, kept ford max_curvature_error tracking in python and safety. |
|
What is that in accel/jerk space? |
|
We should really have these plots generated in the loop somewhere in the repo, rather than one-off scripts. |
|
Test drive Lateral Reports curvature-safety report has stepping around 9m/s which is FORDs no-blending threshold in carcontroller that is surfaced with the new permissive limits: |
Co-authored-by: Shane Smiskol <shane@smiskol.com>
This reverts commit 66b1ef5.




Moves Ford to the generic apply_std_curvature_limits, which works in lateral acceleration and lateral jerk space, same as the Tesla angle VM safety.
We apply it directly to curvature so no vehicle model is needed (lat_accel = curvature * v^2).
The three hand picked curvature rate breakpoints are replaced by two physical constants,
MAX_LATERAL_ACCEL = 3.6 m/s^2 and MAX_LATERAL_JERK = 3.6 m/s^3.