30 #include "generated/airframe.h"
35 #include NPS_SENSORS_PARAMS
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) {
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
#define NPS_AOA_DT
10Hz default
double get_gaussian_noise(void)
double noise_std_dev
noise standard deviation
Simulated Angle Of Attack of the Wind for NPS simulator.
#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)
double value
angle of attack reading in radian
double offset
offset in meters/second
void nps_sensor_aoa_init(struct NpsSensorAngleOfAttack *aoa, double time)
double aoa
angle of attack in rad