Paparazzi UAS  v5.15_devel-230-gc96ce27
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)

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(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)"/>
<makefile>
<file name="traffic_info.c"/>
<define name="TRAFFIC_INFO"/>
</makefile>
</module>