Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Digital camera control (trigger using led)

Module XML file: digital_cam.xml

No detailed description...

Module configuration options

Define Options

  • name: DC_SHOOT_ON_BUTTON_RELEASE value: None
  • name: SENSOR_SYNC_SEND value: 1
  • name: DC_PUSH value: LED_ON
  • name: DC_RELEASE value: LED_OFF
    Description: quarter_second
  • name: DC_AUTOSHOOT_METER_GRID value: 50
    Description: grid in meters

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw digital_cam.xml file:

<!DOCTYPE module SYSTEM "./module.dtd">
// Use (parts of) the following section in airframe file to change
# ap.CFLAGS += -DGPS_TRIGGERED_FUNCTION="dc_shoot_on_gps"
<module name="digital_cam">
<description>Digital camera control (trigger using led)</description>
<define name="DC_SHOOT_ON_BUTTON_RELEASE" />
<define name="SENSOR_SYNC_SEND" value="1" />
<define name="DC_PUSH" value="LED_ON" />
<define name="DC_RELEASE" value="LED_OFF" />
<define name="DC_AUTOSHOOT_QUARTERSEC_PERIOD" value="6" description="quarter_second"/>
<define name="DC_AUTOSHOOT_METER_GRID" value="50" description="grid in meters"/>
<file name="led_cam_ctrl.h"/>
<init fun="led_cam_ctrl_init()"/>
<periodic fun="led_cam_ctrl_periodic()" freq="4" autorun="TRUE"/>
<makefile >
<define name="DIGITAL_CAM" />
<file name="led_cam_ctrl.c"/>
<file name="dc.c"/>
<define name="SENSOR_SYNC_SEND" value="1" />