|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
3 #include "generated/airframe.h"
5 #include NPS_SENSORS_PARAMS
12 gyro->
min = NPS_GYRO_MIN;
13 gyro->
max = NPS_GYRO_MAX;
15 NPS_GYRO_SENSITIVITY_PP, NPS_GYRO_SENSITIVITY_QQ, NPS_GYRO_SENSITIVITY_RR);
17 NPS_GYRO_NEUTRAL_P, NPS_GYRO_NEUTRAL_Q, NPS_GYRO_NEUTRAL_R);
19 NPS_GYRO_NOISE_STD_DEV_P, NPS_GYRO_NOISE_STD_DEV_Q, NPS_GYRO_NOISE_STD_DEV_R);
21 NPS_GYRO_BIAS_INITIAL_P, NPS_GYRO_BIAS_INITIAL_Q, NPS_GYRO_BIAS_INITIAL_R);
23 NPS_GYRO_BIAS_RANDOM_WALK_STD_DEV_P,
24 NPS_GYRO_BIAS_RANDOM_WALK_STD_DEV_Q,
25 NPS_GYRO_BIAS_RANDOM_WALK_STD_DEV_R);
34 if (time < gyro->next_update) {
#define VECT3_ADD(_a, _b)
#define FLOAT_MAT33_DIAG(_m, _d00, _d11, _d22)
void double_vect3_update_random_walk(struct DoubleVect3 *rw, struct DoubleVect3 *std_dev, double dt, double thau)
Paparazzi fixed point algebra.
#define DOUBLE_VECT3_ROUND(_v)
#define VECT3_EW_MUL(_vo, _va, _vb)
struct DoubleVect3 bias_random_walk_value
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
void nps_sensor_gyro_run_step(struct NpsSensorGyro *gyro, double time, struct DoubleRMat *body_to_imu)
#define FLOAT_VECT3_ZERO(_v)
struct DoubleMat33 sensitivity
#define VECT3_BOUND_CUBE(_v, _min, _max)
void nps_sensor_gyro_init(struct NpsSensorGyro *gyro, double time)
struct DoubleVect3 bias_random_walk_std_dev
struct DoubleVect3 noise_std_dev
struct DoubleVect3 neutral
#define MAT33_VECT3_MUL(_vout, _mat, _vin)
static struct OrientationReps body_to_imu
struct DoubleVect3 bias_initial
#define VECT3_ASSIGN(_a, _x, _y, _z)
#define VECT3_COPY(_a, _b)
struct DoubleRates body_inertial_rotvel
void double_vect3_add_gaussian_noise(struct DoubleVect3 *vect, struct DoubleVect3 *std_dev)