|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
float amsl_baro
altitude above sea level in m from pressure and QNH
float wind_dir
wind direction (rad, 0 north, >0 clockwise)
void air_data_periodic(void)
Check health.
float tas_factor
factor to convert equivalent airspeed (EAS) to true airspeed (TAS)
bool calc_amsl_baro
if TRUE, calculate amsl_baro
struct AirData air_data
global AirData state
bool calc_qnh_once
flag to calculate QNH with next pressure measurement
float airspeed
Equivalent Air Speed (equals to Calibrated Air Speed at low speed/altitude) (in m/s,...
float air_data_get_amsl(void)
Return AMSL (altitude AboveSeaLevel).
float qnh
Barometric pressure adjusted to sea level in hPa, -1 if unknown.
float sideslip
sideslip angle (rad)
bool calc_airspeed
if TRUE, calculate airspeed from differential pressure
float wind_speed
wind speed (m/s)
float differential
Differential pressure (total - static pressure) (Pa)
float temperature
temperature in degrees Celcius, -1000 if unknown
bool amsl_baro_valid
TRUE if amsl_baro is currently valid.
void air_data_init(void)
AirData initialization.
float pressure
Static atmospheric pressure (Pa), -1 if unknown.
float tas_from_dynamic_pressure(float q)
Calculate true airspeed from dynamic pressure.
float aoa
angle of attack (rad)
float get_tas_factor(float p, float t)
Calculate true airspeed (TAS) factor.
float tas_from_eas(float eas)
Calculate true airspeed from equivalent airspeed.
bool calc_tas_factor
if TRUE, calculate tas_factor when getting a temp measurement
float eas_from_dynamic_pressure(float q)
Calculate equivalent airspeed from dynamic pressure.
float tas
True Air Speed (TAS) in m/s, -1 if unknown.