30 #include "generated/airframe.h"
39 #define NPS_AOA_DT 0.01
43 #ifndef NPS_AOA_NOISE_STD_DEV
44 #define NPS_AOA_NOISE_STD_DEV 0.001
47 #ifndef NPS_AOA_OFFSET
48 #define NPS_AOA_OFFSET 0
65 if (time < aoa->next_update) {
double aoa
angle of attack in rad
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
double get_gaussian_noise(void)
void nps_sensor_aoa_init(struct NpsSensorAngleOfAttack *aoa, double time)
#define NPS_AOA_DT
10Hz default
#define NPS_AOA_NOISE_STD_DEV
standard deviation in radian (default 0.001 rad)
void nps_sensor_aoa_run_step(struct NpsSensorAngleOfAttack *aoa, double time)
Simulated Angle Of Attack of the Wind for NPS simulator.
double value
angle of attack reading in radian
double offset
offset in meters/second
double noise_std_dev
noise standard deviation