31 #include "generated/airframe.h"
56 #ifdef XSENS_BACKWARDS
#define RATES_BFP_OF_REAL(_ri, _rf)
void imu_xsens_init(void)
#define VECT3_ASSIGN(_a, _x, _y, _z)
#define RATES_ASSIGN(_ra, _p, _q, _r)
void parse_xsens_msg(void)
Main include for ABI (AirBorneInterface).
void imu_xsens_event(void)
struct Imu imu
global IMU state
static void handle_ins_msg(void)
#define ACCELS_BFP_OF_REAL(_ef, _ei)
struct Int32Vect3 mag_unscaled
unscaled magnetometer measurements
volatile uint8_t msg_received
#define MAGS_BFP_OF_REAL(_ef, _ei)
struct Int32Rates gyro_unscaled
unscaled gyroscope measurements
struct Int32Vect3 accel
accelerometer measurements in m/s^2 in BFP with INT32_ACCEL_FRAC
#define MAG_BFP_OF_REAL(_af)
Architecture independent timing functions.
struct Int32Vect3 mag
magnetometer measurements scaled to 1 in BFP with INT32_MAG_FRAC
void imu_scale_gyro(struct Imu *_imu)
struct XsensParser parser
Parser for the Xsens protocol.
void imu_scale_mag(struct Imu *_imu)
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
void imu_scale_accel(struct Imu *_imu)
XSENS to just provide IMU measurements.
#define ACCEL_BFP_OF_REAL(_af)
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
void xsens_parser_event(struct XsensParser *xsensparser)
struct Int32Rates gyro
gyroscope measurements in rad/s in BFP with INT32_RATE_FRAC
#define RATE_BFP_OF_REAL(_af)