SparkMaxAlternateEncoder_SetPosition

Function SparkMaxAlternateEncoder_SetPosition 

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

Set the position of the encoder.

@param position Number of rotations of the motor

@return REVLibError::kOk if successful