[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] digital_cam.xml files (attn. Chris De Wagter)

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">
    <file name="dc.h"/>
  <init fun="dc_init()"/>
  <periodic fun="dc_periodic()" freq="4" autorun="TRUE"/>

# ap.CFLAGS += -DGPS_TRIGGERED_FUNCTION="dc_shoot_on_gps"

    <flag name="DIGITAL_CAM" />
    <file name="dc.c"/>

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"/>

plus the associated hardware conf and settings file.
Any help appreciated.

Attachment: funjet.jpg
Description: JPEG image

reply via email to

[Prev in Thread] Current Thread [Next in Thread]