Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Simulated Angle Of Attack of the Wind for NPS simulator. More...
#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 | NpsSensorAngleOfAttack |
Functions | |
void | nps_sensor_aoa_init (struct NpsSensorAngleOfAttack *aoa, double time) |
void | nps_sensor_aoa_run_step (struct NpsSensorAngleOfAttack *aoa, double time) |
Simulated Angle Of Attack of the Wind for NPS simulator.
Definition in file nps_sensor_aoa.h.
struct NpsSensorAngleOfAttack |
Definition at line 36 of file nps_sensor_aoa.h.
Data Fields | ||
---|---|---|
bool | data_available | |
double | next_update | |
double | noise_std_dev | noise standard deviation |
double | offset | offset in meters/second |
double | value | angle of attack reading in radian |
void nps_sensor_aoa_init | ( | struct NpsSensorAngleOfAttack * | aoa, |
double | time | ||
) |
Definition at line 52 of file nps_sensor_aoa.c.
References NpsSensorAngleOfAttack::data_available, FALSE, NpsSensorAngleOfAttack::next_update, NpsSensorAngleOfAttack::noise_std_dev, NPS_AOA_NOISE_STD_DEV, NPS_AOA_OFFSET, NpsSensorAngleOfAttack::offset, time, and NpsSensorAngleOfAttack::value.
Referenced by nps_sensors_init().
void nps_sensor_aoa_run_step | ( | struct NpsSensorAngleOfAttack * | aoa, |
double | time | ||
) |
Definition at line 62 of file nps_sensor_aoa.c.
References NpsFdm::aoa, NpsSensorAngleOfAttack::data_available, fdm, get_gaussian_noise(), NpsSensorAngleOfAttack::next_update, NpsSensorAngleOfAttack::noise_std_dev, NPS_AOA_DT, NpsSensorAngleOfAttack::offset, TRUE, and NpsSensorAngleOfAttack::value.
Referenced by nps_sensors_run_step().