Paparazzi UAS  v5.15_devel-47-g0391b4d
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
logger_uart module

Stream IMU raw data over UART for off-board logging.

No detailed description...

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

1 <module name="logger_uart">
2  <configure name="LOGGER_PORT" value="UART1|UART2|UART3|UART4|UART5|UART6" />
3 </module>

Module configuration options

Configure Options

  • name: LOGGER_PORT value: UART1|UART2|UART3|UART4|UART5|UART6
    Description: Port to stream the realtime log

Module functions

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • logger_uart_periodic()
    • Running at maximum module frequency.
    • Autorun: TRUE
      Periodic function automatically starts after init.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw logger_uart.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="logger_uart" dir="loggers">
<doc>
<description>Stream IMU raw data over UART for off-board logging.</description>
<configure name="LOGGER_PORT" value="UART1|UART2|UART3|UART4|UART5|UART6" description="Port to stream the realtime log"/>
</doc>
<header>
<file name="logger_uart.h"/>
</header>
<periodic fun="logger_uart_periodic()" autorun="TRUE"/>
<makefile>
<file name="logger_uart.c"/>
<define name="USE_UART1" />
<configure name="UART1_BAUD" value="B230400"/>
<define name="USE_LED_1" />
</makefile>
</module>