withMotionProfileControl

fun withMotionProfileControl(    pidGains: PIDGains,     ffGains: FFGains,     constraints: MotionConstraints,     allowedPositionError: Double,     disabledPosition: Double? = null): MotorFactory

Enable motion profile control in the motor