Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
Estimation/kalman.h@0:826c6171fc1b, 2012-06-20 (annotated)
- Committer:
- shimniok
- Date:
- Wed Jun 20 14:57:48 2012 +0000
- Revision:
- 0:826c6171fc1b
Updated documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:826c6171fc1b | 1 | #ifndef __KALMAN_H |
shimniok | 0:826c6171fc1b | 2 | #define __KALMAN_H |
shimniok | 0:826c6171fc1b | 3 | |
shimniok | 0:826c6171fc1b | 4 | /** Implementation of 1st order, 2-state Kalman Filter for heading estimation |
shimniok | 0:826c6171fc1b | 5 | */ |
shimniok | 0:826c6171fc1b | 6 | |
shimniok | 0:826c6171fc1b | 7 | float kfGetX(int i); |
shimniok | 0:826c6171fc1b | 8 | void headingKalmanInit(float x0); |
shimniok | 0:826c6171fc1b | 9 | float headingKalman(float dt, float Hgps, bool gps, float dHgyro, bool gyro); |
shimniok | 0:826c6171fc1b | 10 | |
shimniok | 0:826c6171fc1b | 11 | #endif |