[Top][All Lists]

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

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

From: Christophe De Wagter
Subject: Re: [Paparazzi-devel] digital_cam.xml files (attn. Chris De Wagter)
Date: Tue, 7 Dec 2010 20:51:44 +0100

Hi Stephan

The digital_cam was upgraded to allow more fancy control like controlling our SVS Dsp-cam or sony with atmega-controller. Paparazzi can control all buttons of the sony now and can interact with the DSP of the smartcam. Naturally all of this is still compatible with the old "LED" based triggering which we also use a lot. The conf/module/digital_cam.xml shows how to use the LED based triggering, while the digital_cam_i2c.xml show the other functions.

2 questions to you first:

a) did you use the 100m grid feature? I still need to re-enable it but I would like to turn it into a shoot every X meters along the current line segment.
b) there was only a zoom led, but I don't understand how a single led can zoom in and zoom out...

If you need help with adapting your airframe / flightplan / module you can email them and I'll help.


On Sun, Dec 5, 2010 at 9:01 PM, Stephen L Hulme <address@hidden> wrote:
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.

Paparazzi-devel mailing list

reply via email to

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