Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
atmosphere_t Class Reference

Maintenance of atmosphere data like pressure, density etc. More...

#include <atmosphere.h>

Public Member Functions

 atmosphere_t (float p_abs)
 
void update_density_correction (void)
 
void initialize (float altitude)
 
void set_pressure (float p_abs)
 
float get_pressure (void) const
 
float get_density (void) const
 
float get_negative_altitude (void) const
 
float get_TAS_from_dynamic_pressure (float dynamic_pressure) const
 
float get_IAS_from_dynamic_pressure (float dynamic_pressure) const
 
void set_ambient_air_data (float temperature, float humidity)
 
void disregard_ambient_air_data (void)
 
float get_QFF () const
 
void feed_QFF_density_metering (float pressure, float MSL_altitude)
 

Detailed Description

Maintenance of atmosphere data like pressure, density etc.

Definition at line 45 of file atmosphere.h.

Constructor & Destructor Documentation

◆ atmosphere_t()

atmosphere_t::atmosphere_t ( float  p_abs)
inline

Definition at line 48 of file atmosphere.h.

References pt2< datatype, basetype >::settle().

Member Function Documentation

◆ disregard_ambient_air_data()

void atmosphere_t::disregard_ambient_air_data ( void  )
inline

◆ feed_QFF_density_metering()

void atmosphere_t::feed_QFF_density_metering ( float  pressure,
float  MSL_altitude 
)
inline

◆ get_density()

float atmosphere_t::get_density ( void  ) const
inline

◆ get_IAS_from_dynamic_pressure()

float atmosphere_t::get_IAS_from_dynamic_pressure ( float  dynamic_pressure) const
inline

Definition at line 89 of file atmosphere.h.

References RECIP_STD_DENSITY_TIMES_2, and SQRT.

Referenced by navigator_t::update_pitot().

◆ get_negative_altitude()

float atmosphere_t::get_negative_altitude ( void  ) const
inline

◆ get_pressure()

float atmosphere_t::get_pressure ( void  ) const
inline

Definition at line 72 of file atmosphere.h.

◆ get_QFF()

float atmosphere_t::get_QFF ( ) const
inline

Definition at line 104 of file atmosphere.h.

Referenced by navigator_t::report_data().

◆ get_TAS_from_dynamic_pressure()

float atmosphere_t::get_TAS_from_dynamic_pressure ( float  dynamic_pressure) const
inline

Definition at line 85 of file atmosphere.h.

References get_density(), and SQRT.

Referenced by navigator_t::update_pitot().

◆ initialize()

void atmosphere_t::initialize ( float  altitude)
inline

◆ set_ambient_air_data()

void atmosphere_t::set_ambient_air_data ( float  temperature,
float  humidity 
)
inline

Definition at line 93 of file atmosphere.h.

Referenced by navigator_t::set_density_data().

◆ set_pressure()

void atmosphere_t::set_pressure ( float  p_abs)
inline

Definition at line 68 of file atmosphere.h.

Referenced by navigator_t::update_pressure().

◆ update_density_correction()

void atmosphere_t::update_density_correction ( void  )
inline

Definition at line 60 of file atmosphere.h.

References pt2< datatype, basetype >::respond().

Referenced by navigator_t::update_at_10Hz().


The documentation for this class was generated from the following files: