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

Logs to a csv file.

(only for linux)

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_file">
2  <define name="FILE_LOGGER_PATH" value="/data/video/usb" />
3 </module>

Module configuration options

Define Options

  • name: FILE_LOGGER_PATH value: /data/video/usb
    Description: path where csv file is saved.

Module functions

Periodic Functions

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

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw logger_file.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="logger_file" dir="loggers">
<doc>
<description>
Logs to a csv file.
(only for linux)
</description>
<define name="FILE_LOGGER_PATH" value="/data/video/usb" description="path where csv file is saved."/>
</doc>
<header>
<file name="file_logger.h" />
</header>
<periodic fun="file_logger_periodic()" start="file_logger_start()"
stop="file_logger_stop()" autorun="FALSE" period="0.01" />
<makefile>
<file name="file_logger.c"/>
</makefile>
</module>