|
From: | Stephen L Hulme |
Subject: | [Paparazzi-devel] digital_cam.xml files (attn. Chris De Wagter) |
Date: | Mon, 6 Dec 2010 09:01:27 +1300 |
Hi Christophe
I noted while I was away you made some significant
changes to the ~/conf/modules/digital_cam.xml files.
I am not a software expert and would like to know
if I can still use my pentax remote controller as depicted in the attached
picture (originally supplied by Pascal Brisset).
The original digital_cam.xml file I was using
is as follows:
<!DOCTYPE
module SYSTEM "./module.dtd">
<module name="digital_cam"> <header> <file name="dc.h"/> </header> <init fun="dc_init()"/> <periodic fun="dc_periodic()" freq="4" autorun="TRUE"/> <makefile> <raw> # ap.CFLAGS += -DGPS_TRIGGERED_FUNCTION="dc_shoot_on_gps" # ap.CFLAGS += -DDC_GPS_TRIGGER_START=1 # ap.CFLAGS += -DDC_GPS_TRIGGER_STOP=3 </raw> <flag name="DIGITAL_CAM" /> <file name="dc.c"/> </makefile> </module> together with this airframe xml description:
<section
name="Digital camera telecommand">
<!-- IOs are seen as LEDs --> <define name="LED_6_BANK" value="0"/> <define name="LED_6_PIN" value="2"/> <!-- I2C SCL --> <!-- ADC 5 --> <define name="LED_7_BANK" value="0"/> <define name="LED_7_PIN" value="3"/> <!-- I2C SDA --> <define name="DC_SHUTTER_LED" value="6"/> <!-- Grey wire --> <define name="DC_ZOOM_LED" value="7"/> </section> plus the associated hardware conf and settings
file.
Any help appreciated.
Regards
Stephen
|
funjet.jpg
Description: JPEG image
[Prev in Thread] | Current Thread | [Next in Thread] |