Stereocam Droplet
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="stereocam_droplet"/>
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 stereocam_droplet.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="stereocam_droplet" dir="stereocam">
<doc>
<description></description>
</doc>
<header>
<file name="droplet/stereocam_droplet.h"/>
</header>
<init fun="stereocam_droplet_init()"/>
<periodic fun="stereocam_droplet_periodic()" freq="20" autorun="TRUE"/>
<makefile target="ap">
<file name="droplet/stereocam_droplet.c"/>
<configure name="STEREO_UART" default="uart1" case="upper|lower"/>
<configure name="STEREO_BAUD" default="B9600"/>
<configure name="STEREO_LED" default="3"/>
<define name="USE_$(STEREO_UART_UPPER)"/>
<define name="STEREO_UART" value="$(STEREO_UART_LOWER)"/>
<define name="$(STEREO_UART_UPPER)_BAUD" value="$(STEREO_BAUD)"/>
</makefile>
</module>