openpilot
openpilot copied to clipboard
[torqued] Fix high speed oscillations
Changes
-
Reduce low speed factor during high speeds (scales down the error)

-
Friction: Currently full friction is applied at
0.2error (~4% of instances). Increase to0.3(~2% of cases) to reduce oscillations at higher errors.
FWIW, this change significantly improves torque control performance for my Honda Passport. Significantly less oscillation.
Looking forward to seeing torqued rolled out to more brands!