Paparazzi UAS  v5.12_stable-4-g9b43e9b
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.


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">
Logs to a csv file.
(only for linux)
<define name="FILE_LOGGER_PATH" value="/data/video/usb" description="path where csv file is saved."/>
<file name="file_logger.h" />
<periodic fun="file_logger_periodic()" start="file_logger_start()"
stop="file_logger_stop()" autorun="FALSE" />
<file name="file_logger.c"/>