diff options
| author | Dawsyn Schraiber <[email protected]> | 2024-06-13 14:30:58 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-13 14:30:58 -0400 |
| commit | 58b4bc754bbb9f5197119cd0c124e49c05acff46 (patch) | |
| tree | 8a65e23756374626e2c9cb997af9d8ed6f892390 /include/SimpleKalmanFilter.h | |
| parent | 8fbd08fe29bbc2246a78b481b219c241f62ff420 (diff) | |
| download | active-drag-system-58b4bc754bbb9f5197119cd0c124e49c05acff46.tar.gz active-drag-system-58b4bc754bbb9f5197119cd0c124e49c05acff46.tar.bz2 active-drag-system-58b4bc754bbb9f5197119cd0c124e49c05acff46.zip | |
Where to begin…. (#13)
+/- 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
Diffstat (limited to 'include/SimpleKalmanFilter.h')
| -rw-r--r-- | include/SimpleKalmanFilter.h | 32 |
1 files changed, 0 insertions, 32 deletions
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 |
