PID
open class PID(var pGain: Double, var iGain: Double, var dGain: Double, initial: Double = 0.0, var iLimit: Double = 1.0)
PID Controller
Parameters
pGain
Proportional gain
iGain
Integral gain. Integral increases at a rate of (iGain * error) power per second.
dGain
Derivative gain. Power is equal to dGain times error change per second.