diff --git a/src/ego/orientation.rs b/src/ego/orientation.rs index 1799898..90396cb 100644 --- a/src/ego/orientation.rs +++ b/src/ego/orientation.rs @@ -33,7 +33,7 @@ impl OrientationEstimator { // Estimate down from stationary accel let avg = self.accel_history.data().iter().sum::>() / (self.accel_history.data().len() as f32); - if avg.norm() >= 9.764 && avg.norm() <= 9.834 { + if avg.norm() >= 9.1 && avg.norm() <= 9.9 { self.down = Some(Unit::new_normalize(-avg)); self.sensor_bias = avg; info!("Found down={:?} bias={:?}", self.down, self.sensor_bias);