EN LATMPC.AccelCost(120) - ajouatom/openpilot GitHub Wiki

*LATMPC.AccelCost(120)

Menu: Driving > Steering > Lane Mode


*LATMPC.AccelCost(120)

LatMpcAccelCost

(LaneMode) Lateral Acceleration Limit — Lower values increase agility but reduce stability

  • Type: Number
  • Default: 100
  • Range: 0 ~ 500
  • Step: 10
  • Menu: Driving > Steering > Lane Mode

Behavior

(LaneMode) Lateral Acceleration Limit — Lower values increase agility but reduce stability.

  • Higher: Increases the MPC cost and suppression weight for this item.
  • Lower: Allows that motion more readily.

Usage

Repeat the same lane and curve while adjusting one item at a time, comparing path tracking, steering response, and smoothness together.

Reference

[!CAUTION] Incorrect values can reduce steering or longitudinal stability and comfort. Change one item in small steps and restore the default if behavior becomes abnormal.