Auto exposure and Auto white balancing for the Bebop 1 and 2
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="bebop_ae_awb"/>
Module configuration options
Airframe file section
- section name:
bebop_ae_awb
- name
BEBOP_AUTO_EXPOSURE
value: true
Description: perform auto exposure (Default: true)
- name
BEBOP_AUTO_WHITE_BALANCE
value: true
Description: Perform auto white balance (Default: true)
Module functions
Init Functions
These initialization functions are called once on startup.
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 bebop_ae_awb.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="bebop_ae_awb" dir="computer_vision">
<doc>
<description>Auto exposure and Auto white balancing for the Bebop 1 and 2</description>
<section name="bebop_ae_awb">
<define name="BEBOP_AUTO_EXPOSURE" value="true" description="perform auto exposure (Default: true)"/>
<define name="BEBOP_AUTO_WHITE_BALANCE" value="true" description="Perform auto white balance (Default: true)"/>
</section>
</doc>
<header>
<file name="bebop_ae_awb.h"/>
</header>
<init fun="bebop_ae_awb_init()"/>
<periodic fun="bebop_ae_awb_periodic()" freq="5" autorun="TRUE"/>
<makefile target="ap">
<file name="bebop_ae_awb.c"/>
</makefile>
</module>