Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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!

<module name="logger_uart">
b'<configure name="LOGGER_PORT" value="UART1|UART2|UART3|UART4|UART5|UART6" />\n '
</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" task="core">
<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>