EN Long KiV(0)x0.01 - ajouatom/openpilot GitHub Wiki

Long KiV(0)x0.01

Menu: Driving > Cruise & Gap > Accel/Brake Tuning


Long KiV(0)x0.01

LongTuningKiV

Longitudinal integral gain for accumulated error correction. Hyundai, Kia, and Genesis are fixed at Ki 0 for safety, so this setting is hidden and ignored on those vehicles. Toyota/Lexus fix the common Ki=0 to avoid duplicate correction before their dedicated controller; this setting is hidden and saved values are ignored.

  • Type: Number
  • Default: 0
  • Range: 0 ~ 2000
  • Step: 1
  • Menu: Driving > Cruise & Gap > Accel/Brake Tuning

Behavior

Sets the longitudinal integral term that corrects accumulated speed error.

  • Higher: Increases the contribution of this longitudinal-control term.
  • Lower: Reduces that contribution.

Volkswagen MEB vehicles, including ID.4, have single-point Kp and Ki tunes, so saved Kp/Ki/Kf settings apply. Updating does not reset previously saved values. Hyundai/Kia/Genesis fix common Kp/Ki/Kf at 1/0/1. Toyota/Lexus fix them at 0/0/1 because their dedicated vehicle controller already corrects acceleration tracking. Both brand families hide and ignore these three saved settings; stopping control and acceleration limits remain active.

Usage

Use small, one-at-a-time changes for the same target-speed transition and compare overshoot, oscillation, and response delay.

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.

Related user guide