Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensor_airspeed.c File Reference
#include "nps_sensor_airspeed.h"
#include "generated/airframe.h"
#include "std.h"
#include "nps_fdm.h"
#include "nps_random.h"
+ Include dependency graph for nps_sensor_airspeed.c:

Go to the source code of this file.


#define NPS_AIRSPEED_DT   0.01
 10Hz default More...
 standard deviation in meters/second (default 0.1 m/s) More...


void nps_sensor_airspeed_init (struct NpsSensorAirspeed *airspeed, double time)
void nps_sensor_airspeed_run_step (struct NpsSensorAirspeed *airspeed, double time)

Detailed Description

Simulated airspeed for NPS simulator.

Definition in file nps_sensor_airspeed.c.

Macro Definition Documentation


#define NPS_AIRSPEED_DT   0.01

10Hz default

Definition at line 40 of file nps_sensor_airspeed.c.



standard deviation in meters/second (default 0.1 m/s)

Definition at line 45 of file nps_sensor_airspeed.c.



Definition at line 49 of file nps_sensor_airspeed.c.

Function Documentation

◆ nps_sensor_airspeed_init()

void nps_sensor_airspeed_init ( struct NpsSensorAirspeed airspeed,
double  time 

◆ nps_sensor_airspeed_run_step()

void nps_sensor_airspeed_run_step ( struct NpsSensorAirspeed airspeed,
double  time 

Definition at line 63 of file nps_sensor_airspeed.c.

References NpsFdm::airspeed, NpsSensorAirspeed::data_available, fdm, get_gaussian_noise(), NpsSensorAirspeed::next_update, NpsSensorAirspeed::noise_std_dev, NPS_AIRSPEED_DT, NpsSensorAirspeed::offset, TRUE, and NpsSensorAirspeed::value.

Referenced by nps_sensors_run_step().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: