setP

open fun setP(Kp: Double)

Sets the proportional coefficient of the PID controller gain.

Parameters

Kp

proportional coefficient