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

Committer:
shimniok
Date:
2018-11-30
Revision:
25:bb5356402687
Parent:
0:a6a169de725f

File content as of revision 25:bb5356402687:

#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