CANSparkMax_GetSoftLimit

Function CANSparkMax_GetSoftLimit 

Source
pub unsafe extern "C" fn CANSparkMax_GetSoftLimit(
    this: *mut CANSparkMax,
    direction: CANSparkMax_SoftLimitDirection,
) -> f64
Expand description

Get the soft limit setting in the controller

@param direction the direction of motion to restrict

@return position soft limit setting of the controller