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) {
#define VECT3_ADD(_a, _b)
#define VECT3_BOUND_CUBE(_v, _min, _max)
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
#define VECT3_COPY(_a, _b)
void nps_sensor_accel_run_step(struct NpsSensorAccel *accel, double time, struct DoubleRMat *body_to_imu)
#define VECT3_ASSIGN(_a, _x, _y, _z)
void nps_sensor_accel_init(struct NpsSensorAccel *accel, double time)
#define FLOAT_MAT33_DIAG(_m, _d00, _d11, _d22)
void double_vect3_add_gaussian_noise(struct DoubleVect3 *vect, struct DoubleVect3 *std_dev)
#define FLOAT_VECT3_ZERO(_v)
struct DoubleVect3 body_accel
acceleration in body frame as measured by an accelerometer (incl.
#define MAT33_VECT3_MUL(_vout, _mat, _vin)
struct DoubleMat33 sensitivity
#define DOUBLE_VECT3_ROUND(_v)
struct DoubleVect3 neutral
static struct OrientationReps body_to_imu
#define VECT3_EW_MUL(_vo, _va, _vb)
Paparazzi fixed point algebra.
struct DoubleVect3 noise_std_dev