Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "math/pprz_algebra.h"
#include "math/pprz_algebra_double.h"
#include "math/pprz_algebra_float.h"
#include "std.h"
Go to the source code of this file.
Data Structures | |
struct | NpsSensorAccel |
Functions | |
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) |
struct NpsSensorAccel |
Definition at line 9 of file nps_sensor_accel.h.
Data Fields | ||
---|---|---|
struct DoubleVect3 | bias | |
bool | data_available | |
int | max | |
int | min | |
struct DoubleVect3 | neutral | |
double | next_update | |
struct DoubleVect3 | noise_std_dev | |
struct DoubleMat33 | sensitivity | |
struct DoubleVect3 | value |
void nps_sensor_accel_init | ( | struct NpsSensorAccel * | accel, |
double | time | ||
) |
Definition at line 8 of file nps_sensor_accel.c.
References NpsSensorAccel::bias, NpsSensorAccel::data_available, FALSE, FLOAT_MAT33_DIAG, FLOAT_VECT3_ZERO, NpsSensorAccel::max, NpsSensorAccel::min, NpsSensorAccel::neutral, NpsSensorAccel::next_update, NpsSensorAccel::noise_std_dev, NpsSensorAccel::sensitivity, time, NpsSensorAccel::value, and VECT3_ASSIGN.
Referenced by nps_sensors_init().
void nps_sensor_accel_run_step | ( | struct NpsSensorAccel * | accel, |
double | time, | ||
struct DoubleRMat * | body_to_imu | ||
) |
Definition at line 27 of file nps_sensor_accel.c.
References NpsSensorAccel::bias, NpsFdm::body_accel, NpsSensorAccel::data_available, double_vect3_add_gaussian_noise(), DOUBLE_VECT3_ROUND, fdm, DoubleMat33::m, MAT33_VECT3_MUL, NpsSensorAccel::max, NpsSensorAccel::min, NpsSensorAccel::neutral, NpsSensorAccel::next_update, NpsSensorAccel::noise_std_dev, NpsSensorAccel::sensitivity, TRUE, NpsSensorAccel::value, VECT3_ADD, VECT3_BOUND_CUBE, VECT3_COPY, and VECT3_EW_MUL.
Referenced by nps_sensors_run_step().