32#include "generated/modules.h"
37#include "generated/airframe.h"
39#define DC_PUSH(X) command_set(X, -MAX_PPRZ);
40#define DC_RELEASE(X) command_set(X, MAX_PPRZ);
43#ifndef DC_SHUTTER_DELAY
44#define DC_SHUTTER_DELAY 0.5
47#ifndef DC_SHUTTER_SERVO
48#error DC: Please specify at least a DC_SHUTTER_SERVO
66#ifdef DC_SHOOT_ON_BUTTON_RELEASE
76#ifdef DC_ZOOM_IN_SERVO
79#ifdef DC_ZOOM_OUT_SERVO
100#ifndef DC_SHOOT_ON_BUTTON_RELEASE
104#ifdef DC_ZOOM_IN_SERVO
109#ifdef DC_ZOOM_OUT_SERVO
Hardware independent code for commands handling.
void dc_periodic(void)
periodic function
void dc_send_command_common(uint8_t cmd)
Command sending function.
void dc_send_shot_position(void)
Send Down the coordinates of where the photo was taken.
void dc_send_command(uint8_t cmd)
Send Command To Camera.
void servo_cam_ctrl_periodic(void)
#define DC_SHUTTER_DELAY
how long to push shutter in seconds
void servo_cam_ctrl_init(void)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.