xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
Complementary-Filter. More...
Files | |
file | complementary.h |
Complementary-Filter Header. | |
file | complementary.c |
Complementary-Filter Implementation. | |
Data Structures | |
struct | Complementary |
Cmplementary-Filter State data. More... | |
Functions | |
void | complementaryExecute (Complementary *data, double acc, double gyro) |
Step the Complementary Filter. More... | |
void | complementaryInit (Complementary *data) |
Initialize a Complementary-State. More... | |
Complementary-Filter.
Inspired by this presentation...
void complementaryExecute | ( | Complementary * | data, |
double | acc, | ||
double | gyro | ||
) |
Step the Complementary Filter.
data | Complementary-Filter State |
acc | Angle from Accelerometer |
gyro | Corresponding Gyroscope data |
Definition at line 50 of file complementary.c.
References COMPLEMENTARY_TAU, and getSystemTime().
Referenced by orientationTask().
void complementaryInit | ( | Complementary * | data | ) |
Initialize a Complementary-State.
data | Complementary-State to be initialized |
Definition at line 45 of file complementary.c.
References getSystemTime().
Referenced by orientationInit().