From 58b4bc754bbb9f5197119cd0c124e49c05acff46 Mon Sep 17 00:00:00 2001 From: Dawsyn Schraiber <32221234+dawsynth@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:30:58 -0400 Subject: Where to begin…. (#13) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +/- Reworked collection of altimeter related functions into altimeter class +/- Reworked bno055 class to be imu class with minimal functionality \- Removed external Kalman filter implementations in favor of own in house version \- Removed any/unused files \+ Added buffer logger for when sitting on pad for extended period of time in effort to prevent filling of flash chip \+ Added heartbeat LED for alive status --- include/SimpleKalmanFilter.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 include/SimpleKalmanFilter.h (limited to 'include/SimpleKalmanFilter.h') diff --git a/include/SimpleKalmanFilter.h b/include/SimpleKalmanFilter.h deleted file mode 100644 index 61b682e..0000000 --- a/include/SimpleKalmanFilter.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * SimpleKalmanFilter - a Kalman Filter implementation for single variable models. - * Created by Denys Sene, January, 1, 2017. - * Released under MIT License - see LICENSE file for details. - */ - -#ifndef SimpleKalmanFilter_h -#define SimpleKalmanFilter_h - -class SimpleKalmanFilter -{ - -public: - SimpleKalmanFilter(float mea_e, float est_e, float q); - float updateEstimate(float mea); - void setMeasurementError(float mea_e); - void setEstimateError(float est_e); - void setProcessNoise(float q); - float getKalmanGain(); - float getEstimateError(); - -private: - float _err_measure; - float _err_estimate; - float _q; - float _current_estimate = 0; - float _last_estimate = 0; - float _kalman_gain = 0; - -}; - -#endif -- cgit v1.2.3