air_data

AirData interface. Provides an interface for baro absolute and differential pressure as well as airspeed. Subscribes to BARO_ABS, BARO_DIFF and TEMPERATURE ABI messages and calculates QNH and true airspeed from it. Also enables you to fly on “flight levels” using AMSL (AltitudeAboveSeaLevel) calculated from current pressure and QNH. When using this module to provide airspeed you need a differential pressure sensor module publishing the BARO_DIFF ABI message. Make sure to disable other modules which otherwise directly set the airspeed in the state interface.

Defines

Name

Value

Description

AIR_DATA_BARO_ABS_ID

ABI_SENDER_ID

ABI sender id for absolute baro measurement (default: ABI_BROADCAST)

AIR_DATA_BARO_DIFF_ID

ABI_SENDER_ID

ABI sender id for differential baro measurement (default: ABI_BROADCAST)

AIR_DATA_TEMPERATURE_ID

ABI_SENDER_ID

ABI sender id for temperature measurement (default: ABI_BROADCAST)

AIR_DATA_AIRSPEED_ID

ABI_SENDER_ID

ABI sender id for airspeed measurement (default: ABI_BROADCAST)

AIR_DATA_CALC_AIRSPEED

FALSE|TRUE

Calculate Airspeed from differential pressure (default: TRUE)

AIR_DATA_CALC_TAS_FACTOR

FALSE|TRUE

Calculate TAS factor from temp and pressure (default: TRUE)

AIR_DATA_CALC_AMSL_BARO

FALSE|TRUE

Calculate AMS from baro and QNH (default: FALSE)

USE_AIRSPEED_AIR_DATA

TRUE|FALSE

set airspeed in state interface (defaults to TRUE if USE_AIRSPEED)