withPositionControl

fun withPositionControl(    pidGains: PIDGains,     ffGains: FFGains,     allowedPositionError: Double,     disabledPosition: Double? = null,     bounds: Bounds = Bounds()): MotorFactory

Enable position PID control in the motor