53 #include "gyroscope.h"
54 #include "accelerometer.h"
55 #include "magnetometer.h"
56 #include "quaternions.h"
57 #include "scheduler.h"
71 float scale_factor[3];
75 float max_oriented_values[3];
76 float min_oriented_values[3];
88 float scale_factor[3];
151 void imu_calibrate_gyros(
imu_t *imu);
159 void imu_update(
imu_t *imu);
accelerometer_t oriented_accelero
The accelerometer oriented values structure.
Definition: imu.h:119
magnetometer_t scaled_compass
The compass scaled values structure.
Definition: imu.h:124
sensor_calib_t calib_accelero
The accelerometer calibration structure.
Definition: imu.h:111
The magnetometer structure.
Definition: magnetometer.h:49
sensor_calib_t calib_gyro
The gyroscope calibration structure.
Definition: imu.h:110
state_t * state
The pointer to the state structure.
Definition: imu.h:130
gyroscope_t oriented_gyro
The gyroscope oriented values structure.
Definition: imu.h:115
bool calibration
In calibration mode, true.
Definition: imu.h:77
The gyroscope structure.
Definition: gyroscope.h:50
Structure containing the configuration accelero, gyro and magnetometer sensors' gains.
Definition: imu.h:85
sensor_config_t magnetometer
The compass configuration structure.
Definition: imu.h:101
sensor_config_t gyroscope
The accelerometer configuration structure.
Definition: imu.h:100
float dt
The time interval between two IMU updates.
Definition: imu.h:126
The configuration IMU structure.
Definition: imu.h:97
accelerometer_t scaled_accelero
The accelerometer scaled values structure.
Definition: imu.h:120
uint8_t calibration_level
The level of calibration.
Definition: imu.h:128
uint32_t last_update
The time of the last IMU update in ms.
Definition: imu.h:127
magnetometer_t raw_compass
The compass raw values structure.
Definition: imu.h:122
The IMU structure.
Definition: imu.h:108
gyroscope_t scaled_gyro
The gyroscope scaled values structure.
Definition: imu.h:116
Accelerometer structure.
Definition: accelerometer.h:49
The state structure.
Definition: state.h:79
magnetometer_t oriented_compass
The compass oriented values structure.
Definition: imu.h:123
sensor_calib_t calib_compass
The compass calibration structure.
Definition: imu.h:112
Structure containing the accelero, gyro and magnetometer sensors' gains.
Definition: imu.h:68
accelerometer_t raw_accelero
The accelerometer raw values structure.
Definition: imu.h:118
gyroscope_t raw_gyro
The gyroscope raw values structure.
Definition: imu.h:114
sensor_config_t accelerometer
The gyroscope configuration structure.
Definition: imu.h:99