paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Can not use AUTOSHOOT function.


From: gatib
Subject: Re: [Paparazzi-devel] Can not use AUTOSHOOT function.
Date: Sat, 4 Aug 2012 12:29:23 +0200
User-agent: SquirrelMail/1.4.20

One idea:
#define LINE_START_FUNCTION dc_autoshoot = DC_AUTOSHOOT_PERIODIC

But I didn't try this way yet.

Balazs


>  dear all,
>
> i am using branch 4.0  and now. i  can not use the autoshoot function
> in the flight plan.
>
> i have follow the mail instruction, added this in my flight plan.
>
> <header>
> #include "generated/airframe.h"
> #ifdef DC_AUTOSHOOT_QUARTERSEC_PERIOD
> #include "modules/digital_cam/dc.h"
> #define LINE_START_FUNCTION dc_autoshoot = DC_AUTOSHOOT_QUARTERSEC_PERIOD;
> //#define LINE_START_FUNCTION dc_Survey(dc_gps_dist);
> #define LINE_STOP_FUNCTION dc_autoshoot = DC_AUTOSHOOT_STOP;
> #endif
>  </header>
>
> and also use the digital_cam module.
>
> <load name="digital_cam.xml">
>     <define name="DC_SHUTTER_LED" value="6"/>
>     <define name="LED_6_BANK" value="1"/>
>     <define name="LED_6_PIN" value="18"/>
>     <define name="PUSH" value="LED_ON" />
>     <define name="RELEASE" value="LED_OFF" />
>     <define name="DC_SHUTTER_DELAY" value="1" unit="quarter_second"/>
>     <define name="AUTOSHOOT_QUARTERSEC_PERIOD" value="8"
> unit="quarter_second"/>
>     <define name="AUTOSHOOT_METER_GRID" value="50" unit="meter"/>
>  </load>
>
>
> but when an survey mission is triggered  in the simulator,  it can not
> go into the autoshoot mode(no yellow dot) .  did i missed something?
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>





reply via email to

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