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
Log video and pose to USB-stick

Module XML file: video_usb_logger.xml

Logs attitude and position to a csv and images to jpeg files (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="video_usb_logger.xml">
3  <define name="VIDEO_USB_LOGGER_PATH" />
4  </load>
5 </modules>

Module configuration options

Define Options

  • name: VIDEO_USB_LOGGER_PATH value: None
    Description: Logging path

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 video_usb_logger.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="video_usb_logger" dir="computer_vision">
<doc>
<description>
Log video and pose to USB-stick.
Logs attitude and position to a csv and images to jpeg files (only for linux).
</description>
<define name="VIDEO_USB_LOGGER_PATH" description="Logging path"/>
</doc>
<depends>video_rtp_stream</depends>
<header>
<file name="video_usb_logger.h"/>
</header>
<periodic fun="video_usb_logger_periodic()" start="video_usb_logger_start()" stop="video_usb_logger_stop()" autorun="FALSE"/>
<makefile target="ap">
<file name="video_usb_logger.c"/>
<define name="VIDEO_DOWNSIZE_FACTOR" value="2"/>
<define name="USE_BOTTOM_CAMERA" value="1"/>
<define name="LOG_ON_USB" value="1"/>
<define name="VIDEO_FPS" value="10"/>
</makefile>
</module>