pub const JOINT_FACTOR: f64 = 0.8;
The joint check at the end lowers a gain that fails with all motors tuned by this factor, at most JOINT_ROUNDS times.
JOINT_ROUNDS