 |
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
41 #include "pprzlink/messages.h"
45 #ifndef NAVGO_ACCEL_RATE
46 #define NAVGO_ACCEL_RATE ADXL345_RATE_25HZ
51 #if !defined NAVGO_GYRO_LOWPASS && !defined NAVGO_GYRO_SMPLRT_DIV
52 #define NAVGO_GYRO_LOWPASS ITG3200_DLPF_10HZ
53 #define NAVGO_GYRO_SMPLRT_DIV 1
59 #if NAVGO_USE_MEDIAN_FILTER
85 #if NAVGO_USE_MEDIAN_FILTER
128 #if NAVGO_USE_MEDIAN_FILTER
140 #if NAVGO_USE_MEDIAN_FILTER
152 #if NAVGO_USE_MEDIAN_FILTER
uint8_t smplrt_div
Sample rate divider.
struct Int32Rates gyro_unscaled
unscaled gyroscope measurements
struct Itg3200Config config
void adxl345_i2c_event(struct Adxl345_I2c *adxl)
void hmc58xx_event(struct Hmc58xx *hmc)
struct ImuNavgo imu_navgo
void itg3200_init(struct Itg3200 *itg, struct i2c_periph *i2c_p, uint8_t addr)
Initialize Itg3200 struct and set default config options.
struct Int32Vect3 accel
accelerometer measurements in m/s^2 in BFP with INT32_ACCEL_FRAC
int32_t q
in rad/s with INT32_RATE_FRAC
#define NAVGO_GYRO_LOWPASS
enum Adxl345Rates rate
Data Output Rate.
struct Adxl345Config config
void adxl345_i2c_init(struct Adxl345_I2c *adxl, struct i2c_periph *i2c_p, uint8_t addr)
static void adxl345_i2c_periodic(struct Adxl345_I2c *adxl)
convenience function: read or start configuration if not already initialized
void imu_navgo_init(void)
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
void imu_navgo_event(void)
int32_t p
in rad/s with INT32_RATE_FRAC
void imu_navgo_periodic(void)
#define RATES_ASSIGN(_ra, _p, _q, _r)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
enum Itg3200DLPF dlpf_cfg
Digital Low Pass Filter.
void imu_scale_gyro(struct Imu *_imu)
static void hmc58xx_periodic(struct Hmc58xx *hmc)
convenience function: read or start configuration if not already initialized
void imu_navgo_downlink_raw(void)
struct MedianFilter3Int median_mag
arch independent LED (Light Emitting Diodes) API
struct Imu imu
global IMU state
Common code for AP and FBW telemetry.
void hmc58xx_init(struct Hmc58xx *hmc, struct i2c_periph *i2c_p, uint8_t addr)
Initialize Hmc58xx struct and set default config options.
PRINT_CONFIG_MSG("USE_INS_NAV_INIT defaulting to TRUE")
union Adxl345_I2c::@304 data
volatile bool data_available
data ready flag
void imu_scale_mag(struct Imu *_imu)
struct Int32Vect3 mag
magnetometer measurements scaled to 1 in BFP with INT32_MAG_FRAC
struct Int32Vect3 mag_unscaled
unscaled magnetometer measurements
#define NAVGO_GYRO_SMPLRT_DIV
#define VECT3_ASSIGN(_a, _x, _y, _z)
volatile bool data_available
data ready flag
volatile bool data_available
data ready flag
int32_t r
in rad/s with INT32_RATE_FRAC
void imu_scale_accel(struct Imu *_imu)
void itg3200_event(struct Itg3200 *itg)
#define VECT3_COPY(_a, _b)
static void itg3200_periodic(struct Itg3200 *itg)
convenience function: read or start configuration if not already initialized
struct Int32Rates gyro
gyroscope measurements in rad/s in BFP with INT32_RATE_FRAC