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
A simple MAVLINK decoder

Module XML file: mavlink_decoder.xml

No detailed description...

Module configuration options

Configure Options

  • name: MAVLINK_PORT value: UART0|UART1|UART2
    Description: Select port for Mavlink decoder
  • name: MAVLINK_BAUD value: B9600|B57600|B115200
    Description: Baudrate for Mavlink decoder

Module functions

Event Functions

These event functions are called in each cycle of the module event loop.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw mavlink_decoder.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="mavlink_decoder" dir="datalink">
<doc>
<description>A simple MAVLINK decoder</description>
<configure name="MAVLINK_PORT" value="UART0|UART1|UART2" description="Select port for Mavlink decoder"/>
<configure name="MAVLINK_BAUD" value="B9600|B57600|B115200" description="Baudrate for Mavlink decoder"/>
</doc>
<header>
<file name="mavlink_decoder.h"/>
</header>
<event fun="MavlinkDatalinkEvent()"/>
<makefile>
<define name="MAVLINK_UART" value="$(MAVLINK_PORT)"/>
<define name="USE_$(MAVLINK_PORT)"/>
<define name="$(MAVLINK_PORT)_BAUD" value="$(MAVLINK_BAUD)"/>
<file name="mavlink_decoder.c"/>
</makefile>
</module>