SparkMaxPIDController_GetSmartMotionMinOutputVelocity

Function SparkMaxPIDController_GetSmartMotionMinOutputVelocity 

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

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

@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 The minimum velocity for the motion profile in RPM