setPIDF

open fun setPIDF(kp: Double, ki: Double, kd: Double, kf: Double): PIDFController

Set the current controller PID coefficients to the given coefficients.

Return

this

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(@NonNull coefficients: PIDFCoefficients): PIDFController

Set the current controller PID coefficients to the given coefficients.

Return

this

Parameters

coefficients

the coefficients to set