24 #include "generated/airframe.h"
struct NpsSensorAccel accel
#define VECT3_ASSIGN(_a, _x, _y, _z)
#define RATES_ASSIGN(_ra, _p, _q, _r)
Main include for ABI (AirBorneInterface).
struct NpsSensorGyro gyro
struct Imu imu
global IMU state
struct Int32Vect3 mag_unscaled
unscaled magnetometer measurements
struct Int32Rates gyro_unscaled
unscaled gyroscope measurements
struct Int32Vect3 accel
accelerometer measurements in m/s^2 in BFP with INT32_ACCEL_FRAC
struct NpsSensors sensors
struct Int32Vect3 mag
magnetometer measurements scaled to 1 in BFP with INT32_MAG_FRAC
Inertial Measurement Unit interface.
void imu_scale_gyro(struct Imu *_imu)
void imu_feed_gyro_accel(void)
void imu_scale_mag(struct Imu *_imu)
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
void imu_scale_accel(struct Imu *_imu)
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
struct Int32Rates gyro
gyroscope measurements in rad/s in BFP with INT32_RATE_FRAC