SparkMaxRelativeEncoder_SetVelocityConversionFactor

Function SparkMaxRelativeEncoder_SetVelocityConversionFactor 

Source
pub unsafe extern "C" fn SparkMaxRelativeEncoder_SetVelocityConversionFactor(
    this: *mut c_void,
    factor: f64,
) -> i32
Expand description

Set the conversion factor for velocity of the encoder. Multiplied by the native output units to give you velocity

@param factor The conversion factor to multiply the native units by

@return REVLibError::kOk if successful