setPID

open fun setPID(Kp: Double, Ki: Double, Kd: Double)

Sets the PID Controller gain parameters.

Sets the proportional, integral, and differential coefficients.

Parameters

Kp

Proportional coefficient

Ki

Integral coefficient

Kd

Differential coefficient