Vector3 Modified
Dependents: optWingforHAPS_Eigen hexaTest_Eigen
Diff: MedianFilter.hpp
- Revision:
- 7:148420c0b1e2
- Parent:
- 3:ec86928ff12d
--- a/MedianFilter.hpp Mon Oct 10 06:27:16 2016 +0000 +++ b/MedianFilter.hpp Wed Mar 02 15:06:54 2022 +0000 @@ -17,3 +17,29 @@ deque<float> _window; }; #endif + +/* +#ifndef MEDIANFILTER_H +#define MEDIANFILTER_H + +#include "mbed.h" +#include <deque> +#include <algorithm> +#include "Vector3.hpp" + +class MedianFilter +{ +public: + MedianFilter(int size = 3); + + Vector3 Process(Vector3 val); + +private: + int _size; + deque<float> _windowx; + deque<float> _windowy; + deque<float> _windowz; +}; +#endif + +*/