Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensor_airspeed.h File Reference

Simulated airspeed for NPS simulator. More...

#include "math/pprz_algebra.h"
#include "math/pprz_algebra_double.h"
#include "math/pprz_algebra_float.h"
#include "std.h"
+ Include dependency graph for nps_sensor_airspeed.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NpsSensorAirspeed
 

Functions

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.h.


Data Structure Documentation

◆ NpsSensorAirspeed

struct NpsSensorAirspeed

Definition at line 37 of file nps_sensor_airspeed.h.

Data Fields
bool data_available
double next_update
double noise_std_dev noise standard deviation
double offset offset in meters/second
double value airspeed reading in meters/second

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: