pub fn adaptive_gains(
kp: f64,
ki: f64,
kd: f64,
adaptation: f64,
) -> (f64, f64, f64)Expand description
Scale a PID gain triple by a scalar adaptation factor — the simplest gain-scheduling step
(retune as the operating regime changes). Returns (kp, ki, kd).