pub fn within_tolerance( target: f64, measured: f64, tolerance: f64, ) -> Result<bool, SetpointError>