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
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!

1 <module name="cv_detect_window">
2  <define name="DETECT_WINDOW_CAMERA" value="front_camera|bottom_camera" />
3  <define name="DETECT_WINDOW_FPS" value="0" />
4 </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="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>