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!
2 <load name="video_usb_logger.xml">
3 <define name="VIDEO_USB_LOGGER_PATH" />
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>