![]() |
Autodrone
Multi-Domain Vehicle
|
This file gives the function to create our RPY values. More...
Go to the source code of this file.
Macros | |
| #define | sampleFreqDef 500.0f |
| #define | betaDef 5.0f |
Functions | |
| void | madgwickInit (void) |
| Initializes quaternion and other variables. More... | |
| void | updateIMU (float gx, float gy, float gz, float ax, float ay, float az) |
| Creates quaternion from gyro and accel values. More... | |
| void | computeAngles (void) |
| Computes angles from quaternion. More... | |
Variables | |
| float | beta |
| float | q0 |
| float | q1 |
| float | q2 |
| float | q3 |
| float | invSampleFreq |
| float | roll |
| float | pitch |
| float | yaw |
| char | anglesComputed |
This file gives the function to create our RPY values.
| #define betaDef 5.0f |
| #define sampleFreqDef 500.0f |
| void computeAngles | ( | void | ) |
Computes angles from quaternion.
| void madgwickInit | ( | void | ) |
Initializes quaternion and other variables.
| void updateIMU | ( | float | gx, |
| float | gy, | ||
| float | gz, | ||
| float | ax, | ||
| float | ay, | ||
| float | az | ||
| ) |
Creates quaternion from gyro and accel values.
| float | gx Gyro roll data in deg/s. |
| float | gy Gyro pitch data in deg/s. |
| float | gz Gyro yaw data in deg/s. |
| float | ax Accel x-axis data in m/s^2. |
| float | ay Accel y-axis data in m/s^2. |
| float | az Accel z-axis data in m/s^2. |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |