Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Estimation/kalman.h@25:bb5356402687, 2018-11-30 (annotated)
- Committer:
- shimniok
- Date:
- Fri Nov 30 16:11:53 2018 +0000
- Revision:
- 25:bb5356402687
- Parent:
- 0:a6a169de725f
Initial publish of revised version.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:a6a169de725f | 1 | #ifndef __KALMAN_H |
shimniok | 0:a6a169de725f | 2 | #define __KALMAN_H |
shimniok | 0:a6a169de725f | 3 | |
shimniok | 0:a6a169de725f | 4 | /** Implementation of 1st order, 2-state Kalman Filter for heading estimation |
shimniok | 0:a6a169de725f | 5 | */ |
shimniok | 0:a6a169de725f | 6 | |
shimniok | 0:a6a169de725f | 7 | float kfGetX(int i); |
shimniok | 0:a6a169de725f | 8 | void headingKalmanInit(float x0); |
shimniok | 0:a6a169de725f | 9 | float headingKalman(float dt, float Hgps, bool gps, float dHgyro, bool gyro); |
shimniok | 0:a6a169de725f | 10 | |
shimniok | 0:a6a169de725f | 11 | #endif |