pub unsafe extern "C" fn SparkMaxPIDController_GetOutputMax(
this: *mut c_void,
slotID: c_int,
) -> f64Expand description
Get the max output of the PIDF controller on the SPARK MAX.
This uses the Get Parameter API and should be used infrequently. This function uses a non-blocking call and will return a cached value if the parameter is not returned by the timeout. The timeout can be changed by calling SetCANTimeout(int milliseconds)
@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 double max value