Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
Diff: Estimation/kalman.h
- Revision:
- 0:826c6171fc1b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Estimation/kalman.h Wed Jun 20 14:57:48 2012 +0000 @@ -0,0 +1,11 @@ +#ifndef __KALMAN_H +#define __KALMAN_H + +/** Implementation of 1st order, 2-state Kalman Filter for heading estimation + */ + +float kfGetX(int i); +void headingKalmanInit(float x0); +float headingKalman(float dt, float Hgps, bool gps, float dHgyro, bool gyro); + +#endif \ No newline at end of file