mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 18:51:00 +08:00
- new digital_cam_pprzlink module - factorize module with digital_cam_common - rename digital_cam to digital_cam_gpio - add test nodes to modules
40 lines
1.7 KiB
XML
40 lines
1.7 KiB
XML
<!DOCTYPE module SYSTEM "./module.dtd">
|
|
|
|
<module name="digital_cam_servo" dir="digital_cam">
|
|
<doc>
|
|
<description>
|
|
Digital Photo Camera Triggering (using a servo)
|
|
|
|
This module controls triggering of an attached external digital camera via a servo channel.
|
|
</description>
|
|
<section name="DIGITAL_CAM" prefix="DC_">
|
|
<define name="SHOOT_ON_BUTTON_RELEASE" description="if defined, call dc_send_shot_postion on button release instead of on push"/>
|
|
<define name="SHUTTER_SERVO" value="servo" description="mandatory, Servo to control shutter"/>
|
|
<define name="ZOOM_IN_SERVO" value="servo" description="optional, Servo to activate zoom in"/>
|
|
<define name="ZOOM_OUT_SERVO" value="servo" description="optional, Servo to activate zoom out"/>
|
|
<define name="POWER_SERVO" value="servo" description="optional, Servo to control power"/>
|
|
</section>
|
|
</doc>
|
|
<dep>
|
|
<depends>digital_cam_common</depends>
|
|
<conflicts>digital_cam_gpio,digital_cam_i2c,digital_cam_uart,digital_cam_video,digital_cam_pprzlink</conflicts>
|
|
</dep>
|
|
<header>
|
|
<file name="servo_cam_ctrl.h"/>
|
|
</header>
|
|
<init fun="servo_cam_ctrl_init()"/>
|
|
<periodic fun="servo_cam_ctrl_periodic()" freq="10" autorun="TRUE"/>
|
|
<makefile target="ap|sim|nps">
|
|
<define name="DIGITAL_CAM"/>
|
|
<file name="servo_cam_ctrl.c"/>
|
|
<define name="SENSOR_SYNC_SEND" value="1"/>
|
|
<test firmware="rotorcraft">
|
|
<define name="DC_SHUTTER_SERVO" value="1"/>
|
|
<define name="DOWNLINK_TRANSPORT" value="pprz_tp"/>
|
|
<define name="DOWNLINK_DEVICE" value="uart0"/>
|
|
<define name="USE_UART0"/>
|
|
<define name="SERVO_CAM_CTRL_PERIODIC_FREQ" value="10."/>
|
|
</test>
|
|
</makefile>
|
|
</module>
|