setPID

open fun setPID(kp: Double, ki: Double, kd: Double)

Set the current controller PID coefficients to the given coefficients.

Parameters

kp

The value of kP for the coefficients.

ki

The value of kI for the coefficients.

kd

The value of kD for the coefficients.


open fun setPID(coefficients: PIDCoefficients)

Set the current controller PID coefficients to the given coefficients.

Parameters

coefficients

the coefficients to set