 |
Paparazzi UAS
v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
35 #include "pprzlink/pprzlink_device.h"
36 #include "pprzlink/pprzlink_transport.h"
float amsl_baro
altitude above sea level in m from pressure and QNH
float wind_dir
wind direction (rad, 0 north, >0 clockwise)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
void air_data_periodic(void)
Check health.
float tas_factor
factor to convert equivalent airspeed (EAS) to true airspeed (TAS)
float eas_from_tas(float tas)
Calculate equivalent airspeed from true airspeed.
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
static const struct usb_device_descriptor dev
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.
void air_data_parse_WIND_INFO(struct link_device *dev, struct transport_tx *trans, uint8_t *buf)
Parse datalink wind info message.
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.