Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Logs to a csv file

Module XML file: logger_file.xml

(only for linux)

Example for airframe file

This example contains all possible configuration options, not all of them are mandatory!

1 <modules>
2  <load name="logger_file.xml">
3  <define name="FILE_LOGGER_PATH" value="/data/video/usb" />
4  </load>
5 </modules>

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" />
<makefile>
<file name="file_logger.c"/>
</makefile>
</module>