giuliomoro@149: /* giuliomoro@149: * Kalman.h giuliomoro@149: * giuliomoro@149: * Created on: 20 Sep 2015 giuliomoro@149: * Author: giulio giuliomoro@149: */ giuliomoro@149: giuliomoro@149: #ifndef KALMAN_H_ giuliomoro@149: #define KALMAN_H_ giuliomoro@149: giuliomoro@149: class KalmanOne{ giuliomoro@149: public: giuliomoro@149: double A; giuliomoro@149: double H; giuliomoro@149: double Q; giuliomoro@149: double R; giuliomoro@149: double x; giuliomoro@149: double P; giuliomoro@149: void init(double newQ, double newR, double newX); giuliomoro@149: double process(double z); giuliomoro@149: }; giuliomoro@149: giuliomoro@149: giuliomoro@149: giuliomoro@149: #endif /* KALMAN_H_ */