Mercurial > hg > beaglert
view include/Kalman.h @ 151:e9c9404e3d1f ClockSync
Pff partially working. No PID. When setting the audio clock on the bbb to 44098 the master and slave clock keep diverging instead of converging ...
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 22 Sep 2015 04:10:07 +0100 |
parents | 134bff10e561 |
children |
line wrap: on
line source
/* * Kalman.h * * Created on: 20 Sep 2015 * Author: giulio */ #ifndef KALMAN_H_ #define KALMAN_H_ class KalmanOne{ public: double A; double H; double Q; double R; double x; double P; void init(double newQ, double newR, double newX); double process(double z); }; #endif /* KALMAN_H_ */