Paparazzi UAS  v5.18.0_stable-1-g6993852-dirty
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.

  • on message ACINFO call parse_acinfo_dl(buf)
  • on message ACINFO_LLA call parse_acinfo_dl(buf)
  • on message GPS_SMALL call parse_acinfo_dl(buf)
  • on message GPS call parse_acinfo_dl(buf)
  • on message GPS_LLA call parse_acinfo_dl(buf)


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">
<description>Keeps track of other aircraft in airspace</description>
<file name="traffic_info.h"/>
<init fun="traffic_info_init()"/>
<datalink message="ACINFO" fun="parse_acinfo_dl(buf)"/>
<datalink message="ACINFO_LLA" fun="parse_acinfo_dl(buf)"/>
<datalink message="GPS_SMALL" fun="parse_acinfo_dl(buf)"/>
<datalink message="GPS" fun="parse_acinfo_dl(buf)"/>
<datalink message="GPS_LLA" fun="parse_acinfo_dl(buf)"/>
<file name="traffic_info.c"/>
<define name="TRAFFIC_INFO"/>