Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
servo_cam_ctrl.h File Reference

Digital Camera Control. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


static void servo_cam_ctrl_init (void)
static void servo_cam_ctrl_periodic (void)


uint8_t dc_timer

Detailed Description

Digital Camera Control.

Provides the control of the shutter and the zoom of a digital camera via servos.

Configuration in airframe file (DC_SHUTTER is mandatory, others optional):

<define name="DC_SHUTTER_SERVO" value="10"/>
<define name="DC_ZOOM_IN_SERVO" value="7"/>
<define name="DC_ZOOM_OUT_SERVO" value="8"/>
<define name="DC_POWER_SERVO" value="9"/>

Provides the required initialization (dc_init()) and periodic (4Hz) process.

Definition in file servo_cam_ctrl.h.

Function Documentation

static void servo_cam_ctrl_init ( void  )

Definition at line 52 of file servo_cam_ctrl.h.

References dc_init(), and dc_timer.

+ Here is the call graph for this function:

static void servo_cam_ctrl_periodic ( void  )

Definition at line 74 of file servo_cam_ctrl.h.

References dc_periodic_4Hz(), DC_RELEASE, dc_send_shot_position, and dc_timer.

+ Here is the call graph for this function:

Variable Documentation