Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
traffic_info module

Keeps track of other aircraft in airspace

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="traffic_info"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Datalink Functions

Whenever the specified datalink message is received, the corresponing handler function is called.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw traffic_info.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="traffic_info" dir="multi">
<doc>
<description>Keeps track of other aircraft in airspace</description>
</doc>
<header>
<file name="traffic_info.h"/>
</header>
<init fun="traffic_info_init()"/>
<datalink message="ACINFO" fun="parse_acinfo_dl()"/>
<datalink message="ACINFO_LLA" fun="parse_acinfo_dl()"/>
<datalink message="GPS_SMALL" fun="parse_acinfo_dl()"/>
<datalink message="GPS" fun="parse_acinfo_dl()"/>
<datalink message="GPS_LLA" fun="parse_acinfo_dl()"/>
<makefile>
<file name="traffic_info.c"/>
<define name="TRAFFIC_INFO"/>
</makefile>
</module>