18 #ifndef QUADRO_ORIENTATION_H
19 #define QUADRO_ORIENTATION_H
23 #include "../External/Kalman.h"
24 #include "../Timer/Timer.h"
25 #include "../I2C/Devices/L3GD20H/L3GD20H.h"
26 #include "../I2C/Devices/LSM303/Accelerometer/LSM303Accelerometer.h"
27 #include "../analog/devices/LVMaxSonarEZ/LVMaxSonarEZ.h"
28 #include "../I2C/Devices/LSM303/Magnetometer/LSM303Magnetometer.h"
29 #include "../external/PID.h"
32 using namespace analog;
45 const float DATA_RATE = 0.02;
51 const float COMPLIMENTARY_FILTER_TUNING = 0.98;
72 void setDataFilterSelection(
int );
82 int dataFilterSelection;
109 static void* setValues(
void* orientationInst );
111 pthread_t orientationNotifyer;
128 void runKalmanCalculations();
133 void runComplimentaryCalculations();
139 #endif //QUADRO_ORIENTATION_H
Definition: orientation.h:38
Definition: LVMaxSonarEZ.h:28
Definition: LSM303Accelerometer.h:20
Definition: LSM303Magnetometer.h:31
Definition: aeronautics.h:23
PID * rollPID
Definition: orientation.h:100
PID * pitchPID
Definition: orientation.h:95
dataFilter
Definition: orientation.h:87