EN LATMPC.PathCost(200) - ajouatom/openpilot GitHub Wiki

*LATMPC.PathCost(200)

Menu: Driving > Steering > Lane Mode


*LATMPC.PathCost(200)

LatMpcPathCost

(LaneMode) Path Following Weight — Higher values prioritize the path

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

Behavior

(LaneMode) Path Following Weight — Higher values prioritize the path.

  • 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.