mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 11:55:41 +08:00
8be5c426b6
Start working on #940 This replaces ```xml <depend require="foo|bar" conflict="baz"/> ``` with ```xml <depends>foo,bar</depends> <conflicts>baz</conflicts> ``` and now allows to specify OR dependencies with | (pipe) similaro to Debian depends: ```xml <depends>foo,bar,this|that</depends> ``` which would depend on: foo AND bar AND (this OR that)
27 lines
919 B
XML
27 lines
919 B
XML
<!DOCTYPE module SYSTEM "./module.dtd">
|
|
|
|
<module name="digital_cam_shoot_rc" dir="digital_cam">
|
|
<doc>
|
|
<description>
|
|
Digital camera control using radio channel.
|
|
With this module you can take pictures using a radio channel.
|
|
When you put the channel to max the picture are taken.
|
|
If the channel goes high for more than 0.75s a picture is taken every 1sec.
|
|
Only usable for fixedwing firmware.
|
|
</description>
|
|
<define name="DC_RADIO_SHOOT" value="RADIO_xxx" description="specifies the channel to be used to trigger the camera by radio transmiter"/>
|
|
</doc>
|
|
<depends>digital_cam|digital_cam_servo|digital_cam_uart|digital_cam_i2c</depends>
|
|
<header>
|
|
<file name="dc_shoot_rc.h"/>
|
|
</header>
|
|
|
|
<periodic fun="dc_shoot_rc_periodic()" freq="4" autorun="TRUE"/>
|
|
|
|
<makefile>
|
|
<define name="DIGITAL_CAM_SHOOT_RC"/>
|
|
<file name="dc_shoot_rc.c"/>
|
|
</makefile>
|
|
|
|
</module>
|