pub unsafe extern "C" fn CANSparkMax_SetSoftLimit(
this: *mut CANSparkMax,
direction: CANSparkMax_SoftLimitDirection,
limit: f64,
) -> REVLibErrorExpand description
Set the soft limit based on position. The default unit is rotations, but will match the unit scaling set by the user.
Note that this value is not scaled internally so care must be taken to make sure these units match the desired conversion
@param direction the direction of motion to restrict
@param limit position soft limit of the controller