xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
Kalman-Filter from Linus Helgesson More...
Files | |
file | kalman.h |
Kalman-Filter Header. | |
file | kalman.c |
Kalman-Filter Implementation. | |
Data Structures | |
struct | Kalman |
Kalman-Filter State data. More... | |
Functions | |
void | kalmanInnovate (Kalman *data, double z1, double z2) |
Step the Kalman Filter. More... | |
void | kalmanInit (Kalman *data) |
Initialize a Kalman-State. More... | |
Kalman-Filter from Linus Helgesson
void kalmanInit | ( | Kalman * | data | ) |
Initialize a Kalman-State.
data | Kalman-State to be initialized |
Definition at line 48 of file kalman.c.
References Kalman::p33, and Kalman::x3.
Referenced by orientationInit().
void kalmanInnovate | ( | Kalman * | data, |
double | z1, | ||
double | z2 | ||
) |
Step the Kalman Filter.
data | Kalman-Filter State |
z1 | Angle from Accelerometer |
z2 | Corresponding Gyroscope data |
Definition at line 66 of file kalman.c.
References DT, Kalman::p33, Q1, Q2, Q3, R1, R2, and Kalman::x3.
Referenced by orientationTask().