|
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"
7 #include NPS_SENSORS_PARAMS
13 accel->
min = NPS_ACCEL_MIN;
14 accel->
max = NPS_ACCEL_MAX;
16 NPS_ACCEL_SENSITIVITY_XX, NPS_ACCEL_SENSITIVITY_YY, NPS_ACCEL_SENSITIVITY_ZZ);
18 NPS_ACCEL_NEUTRAL_X, NPS_ACCEL_NEUTRAL_Y, NPS_ACCEL_NEUTRAL_Z);
20 NPS_ACCEL_NOISE_STD_DEV_X, NPS_ACCEL_NOISE_STD_DEV_Y, NPS_ACCEL_NOISE_STD_DEV_Z);
22 NPS_ACCEL_BIAS_X, NPS_ACCEL_BIAS_Y, NPS_ACCEL_BIAS_Z);
29 if (time < accel->next_update) {
struct DoubleMat33 sensitivity
struct DoubleVect3 neutral
struct DoubleVect3 body_accel
acceleration in body frame as measured by an accelerometer (incl.
#define VECT3_ADD(_a, _b)
#define FLOAT_MAT33_DIAG(_m, _d00, _d11, _d22)
Paparazzi fixed point algebra.
#define DOUBLE_VECT3_ROUND(_v)
#define VECT3_EW_MUL(_vo, _va, _vb)
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
#define FLOAT_VECT3_ZERO(_v)
#define VECT3_BOUND_CUBE(_v, _min, _max)
struct DoubleVect3 noise_std_dev
void nps_sensor_accel_init(struct NpsSensorAccel *accel, double time)
void nps_sensor_accel_run_step(struct NpsSensorAccel *accel, double time, struct DoubleRMat *body_to_imu)
#define MAT33_VECT3_MUL(_vout, _mat, _vin)
static struct OrientationReps body_to_imu
#define VECT3_ASSIGN(_a, _x, _y, _z)
#define VECT3_COPY(_a, _b)
void double_vect3_add_gaussian_noise(struct DoubleVect3 *vect, struct DoubleVect3 *std_dev)