setPIDF

open fun setPIDF(kp: Double, ki: Double, kd: Double, kf: 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.

kf

The value of kF for the coefficients.


open fun setPIDF(coefficients: PIDFCoefficients)

Set the current controller PID coefficients to the given coefficients.

Parameters

coefficients

the coefficients to set