pub unsafe extern "C" fn SparkMaxPIDController_SetOutputRange(
this: *mut c_void,
min: f64,
max: f64,
slotID: c_int,
) -> REVLibErrorExpand description
Set the min amd max output for the closed loop mode.
This uses the Set Parameter API and should be used infrequently. The parameter does not presist unless burnFlash() is called. The recommended method to configure this parameter is to use the SPARK MAX GUI to tune and save parameters.
@param min Reverse power minimum to allow the controller to output
@param max Forward power maximum to allow the controller to output
@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 REVLibError::kOk if successful