Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nps_atmosphere.h File Reference

Atmosphere model (pressure, wind) for NPS. More...

+ Include dependency graph for nps_atmosphere.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NpsAtmosphere
 

Functions

void nps_atmosphere_init (void)
 
void nps_atmosphere_set_wind_speed (double speed)
 
void nps_atmosphere_set_wind_dir (double dir)
 
void nps_atmosphere_set_wind_ned (double wind_north, double wind_east, double wind_down)
 
void nps_atmosphere_update (double dt)
 

Variables

struct NpsAtmosphere nps_atmosphere
 

Detailed Description

Atmosphere model (pressure, wind) for NPS.

Definition in file nps_atmosphere.h.


Data Structure Documentation

struct NpsAtmosphere

Definition at line 32 of file nps_atmosphere.h.

+ Collaboration diagram for NpsAtmosphere:
Data Fields
double last_world_env_req last world env request time
double qnh barometric pressure at sea level in Pascal
int turbulence_severity turbulence severity from 0-7
struct DoubleVect3 wind wind speed in NED in m/s
double wind_dir horitzontal wind direction in radians north=0, increasing CCW
double wind_speed horizontal wind magnitude in m/s

Function Documentation

void nps_atmosphere_init ( void  )
void nps_atmosphere_set_wind_dir ( double  dir)

Definition at line 71 of file nps_atmosphere.c.

References dir, nps_atmosphere, NpsAtmosphere::wind, NpsAtmosphere::wind_dir, NpsAtmosphere::wind_speed, DoubleVect3::x, and DoubleVect3::y.

Referenced by nps_atmosphere_init().

+ Here is the caller graph for this function:

void nps_atmosphere_set_wind_ned ( double  wind_north,
double  wind_east,
double  wind_down 
)
void nps_atmosphere_set_wind_speed ( double  speed)

Definition at line 63 of file nps_atmosphere.c.

References nps_atmosphere, NpsAtmosphere::wind, NpsAtmosphere::wind_dir, NpsAtmosphere::wind_speed, DoubleVect3::x, and DoubleVect3::y.

Referenced by nps_atmosphere_init().

+ Here is the caller graph for this function:

void nps_atmosphere_update ( double  dt)

Variable Documentation