30 #include "generated/airframe.h"
36 #include NPS_SENSORS_PARAMS
39 #ifndef NPS_SIDESLIP_DT
40 #define NPS_SIDESLIP_DT 0.01
44 #ifndef NPS_SIDESLIP_NOISE_STD_DEV
45 #define NPS_SIDESLIP_NOISE_STD_DEV 0.001
48 #ifndef NPS_SIDESLIP_OFFSET
49 #define NPS_SIDESLIP_OFFSET 0
66 if (time < sideslip->next_update) {
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
double noise_std_dev
noise standard deviation
double get_gaussian_noise(void)
#define NPS_SIDESLIP_DT
10Hz default
void nps_sensor_sideslip_run_step(struct NpsSensorSideSlip *sideslip, double time)
double value
sideslip reading in radian
Simulated Angle Of Attack of the Wind for NPS simulator.
void nps_sensor_sideslip_init(struct NpsSensorSideSlip *sideslip, double time)
#define NPS_SIDESLIP_OFFSET
#define NPS_SIDESLIP_NOISE_STD_DEV
standard deviation in radian (default 0.001 rad)
double sideslip
sideslip angle in rad
double offset
offset in meters/second