Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
air_data.c File Reference

Air Data interface. More...

+ Include dependency graph for air_data.c:

Go to the source code of this file.

Macros

#define AIR_DATA_BARO_ABS_ID   ABI_BROADCAST
 ABI bindings. More...
 

Functions

static void pressure_abs_cb (uint8_t sender_id, const float *pressure)
 
void air_data_init (void)
 AirData initialization. More...
 

Variables

struct AirData air_data
 global AirData state More...
 
static abi_event pressure_abs_ev
 

Detailed Description

Air Data interface.

  • pressures
  • airspeed
  • angle of attack and sideslip
  • wind

Definition in file air_data.c.

Macro Definition Documentation

#define AIR_DATA_BARO_ABS_ID   ABI_BROADCAST

ABI bindings.

Definition at line 41 of file air_data.c.

Referenced by air_data_init().

Function Documentation

void air_data_init ( void  )

AirData initialization.

Called at startup. Bind ABI messages

Definition at line 61 of file air_data.c.

References AIR_DATA_BARO_ABS_ID, pressure_abs_cb(), and register_periodic_telemetry().

Referenced by init_ap(), and main_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void pressure_abs_cb ( uint8_t  sender_id,
const float *  pressure 
)
static

Definition at line 45 of file air_data.c.

References air_data, and AirData::pressure.

Referenced by air_data_init().

+ Here is the caller graph for this function:

Variable Documentation

struct AirData air_data

global AirData state

Definition at line 36 of file air_data.c.

Referenced by pressure_abs_cb().

abi_event pressure_abs_ev
static

Definition at line 43 of file air_data.c.