Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
kalman.h
00001 #ifndef __KALMAN_H 00002 #define __KALMAN_H 00003 00004 /** Implementation of 1st order, 2-state Kalman Filter for heading estimation 00005 */ 00006 00007 float kfGetX(int i); 00008 void headingKalmanInit(float x0); 00009 float headingKalman(float dt, float Hgps, bool gps, float dHgyro, bool gyro); 00010 00011 #endif
Generated on Tue Jul 12 2022 14:09:25 by 1.7.2