pub unsafe extern "C" fn SparkMaxAnalogSensor_SetPositionConversionFactor(
this: *mut c_void,
factor: f64,
) -> REVLibErrorExpand description
Set the conversion factor for the position of the analog sensor. By default, revolutions per volt is 1. Changing the position conversion factor will also change the position units.
@param factor The conversion factor which will be multiplied by volts
@return REVLibError::kOk if successful