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
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

    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.


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">
<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"/>
<file name="logger_uart.h"/>
<periodic fun="logger_uart_periodic()" autorun="TRUE"/>
<file name="logger_uart.c"/>
<define name="USE_UART1" />
<configure name="UART1_BAUD" value="B230400"/>
<define name="USE_LED_1" />