SparkMaxPIDController_SetSmartMotionMinOutputVelocity

Function SparkMaxPIDController_SetSmartMotionMinOutputVelocity 

Source
pub unsafe extern "C" fn SparkMaxPIDController_SetSmartMotionMinOutputVelocity(
    this: *mut c_void,
    minVel: f64,
    slotID: c_int,
) -> REVLibError
Expand description

Configure the mimimum velocity of the SmartMotion mode. Any requested velocities below this value will be set to 0.

@param minVel The minimum velocity for the motion profile in RPM

@param slotID Is the gain schedule slot, the value is a number between 0 and 3. Each slot has its own set of gain values and can be changed in each control frame using SetReference().

@return REVLibError::kOk if successful