paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Can not use AUTOSHOOT function.


From: Marvin Wang
Subject: [Paparazzi-devel] Can not use AUTOSHOOT function.
Date: Sat, 4 Aug 2012 17:36:19 +0800

 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?



reply via email to

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