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 "nps_sensor_sideslip.h"
#include "generated/airframe.h"
#include <math.h>
#include "std.h"
#include "nps_fdm.h"
#include "nps_random.h"
#include "nps_sensors.h"
Go to the source code of this file.
Macros | |
#define | NPS_SIDESLIP_DT 0.01 |
10Hz default More... | |
#define | NPS_SIDESLIP_NOISE_STD_DEV 0.001 |
standard deviation in radian (default 0.001 rad) More... | |
#define | NPS_SIDESLIP_OFFSET 0 |
Functions | |
void | nps_sensor_sideslip_init (struct NpsSensorSideSlip *sideslip, double time) |
void | nps_sensor_sideslip_run_step (struct NpsSensorSideSlip *sideslip, double time) |
Simulated Angle of Attack of the Wind for NPS simulator.
Definition in file nps_sensor_sideslip.c.
#define NPS_SIDESLIP_DT 0.01 |
10Hz default
Definition at line 40 of file nps_sensor_sideslip.c.
#define NPS_SIDESLIP_NOISE_STD_DEV 0.001 |
standard deviation in radian (default 0.001 rad)
Definition at line 45 of file nps_sensor_sideslip.c.
#define NPS_SIDESLIP_OFFSET 0 |
Definition at line 49 of file nps_sensor_sideslip.c.
void nps_sensor_sideslip_init | ( | struct NpsSensorSideSlip * | sideslip, |
double | time | ||
) |
Definition at line 53 of file nps_sensor_sideslip.c.
References NpsSensorSideSlip::data_available, FALSE, NpsSensorSideSlip::next_update, NpsSensorSideSlip::noise_std_dev, NPS_SIDESLIP_NOISE_STD_DEV, NPS_SIDESLIP_OFFSET, NpsSensorSideSlip::offset, time, and NpsSensorSideSlip::value.
Referenced by nps_sensors_init().
void nps_sensor_sideslip_run_step | ( | struct NpsSensorSideSlip * | sideslip, |
double | time | ||
) |
Definition at line 63 of file nps_sensor_sideslip.c.
References NpsSensorSideSlip::data_available, fdm, get_gaussian_noise(), NpsSensorSideSlip::next_update, NpsSensorSideSlip::noise_std_dev, NPS_SIDESLIP_DT, NpsSensorSideSlip::offset, NpsFdm::sideslip, TRUE, and NpsSensorSideSlip::value.
Referenced by nps_sensors_run_step().