SparkMaxRelativeEncoder_SetPositionConversionFactor

Function SparkMaxRelativeEncoder_SetPositionConversionFactor 

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

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

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

@return REVLibError::kOk if successful