Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
cv_detect_window module

Detect window

No detailed description...

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

<module name="cv_detect_window">
b'<define name="DETECT_WINDOW_CAMERA" value="front_camera|bottom_camera" />\n '
b'<define name="DETECT_WINDOW_FPS" value="0" />\n '
</module>

Module configuration options

Define Options

  • name: DETECT_WINDOW_CAMERA value: front_camera|bottom_camera
    Description: Video device to use
  • name: DETECT_WINDOW_FPS value: 0
    Description: The (maximum) frequency to run the calculations at. If zero, it will max out at the camera frame rate

Module functions

Init Functions

These initialization functions are called once on startup.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw cv_detect_window.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="cv_detect_window" dir="computer_vision">
<doc>
<description>
Detect window
</description>
<define name="DETECT_WINDOW_CAMERA" value="front_camera|bottom_camera" description="Video device to use"/>
<define name="DETECT_WINDOW_FPS" value="0" description="The (maximum) frequency to run the calculations at. If zero, it will max out at the camera frame rate"/>
</doc>
<header>
<file name="detect_window.h"/>
</header>
<init fun="detect_window_init()"/>
<makefile target="ap">
<file name="detect_window.c"/>
</makefile>
</module>