mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
6fafcaaae9
* Gazebo Cyberzoo and OrangeAvoid in tudelft conf, Simulate when no RC, call gzclient as tool * [orange_avoider] color setting * docs+remove modules section
28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="orange_avoider">
|
|
<doc>
|
|
<description>
|
|
Avoid all objects that are orange!
|
|
This example module shows how you can use the camera stream and colorfilter to detect orange objects.
|
|
By adding this module to your flightplan and flying in the cyberzoo with the flightplan tudelft/course2017_avoid_orange_cyberzoo.xml you will avoid every obstacle that is orange.
|
|
</description>
|
|
<define name="ORANGE_AVOIDER_LUM_MIN" value="0-255" description="Minimum Luminance To select pixel as object"/>
|
|
<define name="ORANGE_AVOIDER_LUM_MAX" value="0-255" description="Minimum Luminance To select pixel as object"/>
|
|
<define name="ORANGE_AVOIDER_CR_MIN" value="0-255" description="Minimum CR To select pixel as object"/>
|
|
<define name="ORANGE_AVOIDER_CR_MAX" value="0-255" description="Minimum CR To select pixel as object"/>
|
|
<define name="ORANGE_AVOIDER_CB_MIN" value="0-255" description="Minimum CB To select pixel as object"/>
|
|
<define name="ORANGE_AVOIDER_CB_MAX" value="0-255" description="Minimum CB To select pixel as object"/>
|
|
</doc>
|
|
<depends>cv_colorfilter.xml</depends>
|
|
<header>
|
|
<file name="orange_avoider.h"/>
|
|
</header>
|
|
<init fun="orange_avoider_init()"/>
|
|
<periodic fun="orange_avoider_periodic()" freq="4"/>
|
|
<makefile >
|
|
<file name="orange_avoider.c"/>
|
|
</makefile>
|
|
</module>
|
|
|