71#ifdef INS_EXT_VISION_ROTATION
72extern struct FloatQuat ins_ext_vision_rot;
definition of the local (flat earth) coordinate system
Integrated Navigation System interface.
struct ekf2_t ekf2
Local EKF2 status structure.
float air_density
Air density from the barometer (kg/m^3).
bool accel_valid
If we received a acceleration measurement.
void ins_ekf2_update(void)
bool got_imu_data
If we received valid IMU data (any sensor).
bool gyro_valid
If we received a gyroscope measurement.
uint32_t accel_dt
Accelerometer delta timestamp between abi messages (us).
float mag_scale
Field strength the normalized magnetometer is scaled to without calibration strength (gauss).
uint64_t system_flags_time
Last time the system flags were given to the EKF (us).
uint32_t gyro_dt
Gyroscope delta timestamp between abi messages (us).
bool in_air
In-air state last given to the EKF.
struct LtpDef_i ltp_def
Latest LTP definition from the quat_reset_counter EKF2.
uint32_t flow_stamp
Optic flow last abi message timestamp.
bool fixed_wing
Fixed wing flight state last given to the EKF.
float temp
Latest temperature measurement in degrees celcius.
void ins_ekf2_parse_EXTERNAL_POSE(uint8_t *buf)
void ins_ekf2_parse_EXTERNAL_POSE_SMALL(uint8_t *buf)
struct FloatVect3 delta_accel
Last accelerometer measurements.
struct FloatVect3 accel_ned
Latest NED acceleration from the EKF (m/s^2).
uint64_t ltp_stamp
Last LTP change timestamp from the EKF2.
uint8_t quat_reset_counter
Amount of quaternion resets from the EKF2.
struct FloatRates delta_gyro
Last gyroscope measurements.
bool armed
Armed state last given to the EKF.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned long long uint64_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.