32 #include "generated/modules.h"
37 #include "generated/airframe.h"
39 #define DC_PUSH(X) imcu_set_command(X, -MAX_PPRZ);
40 #define DC_RELEASE(X) imcu_set_command(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
69 #ifdef DC_SHOOT_ON_BUTTON_RELEASE
79 #ifdef DC_ZOOM_IN_SERVO
82 #ifdef DC_ZOOM_OUT_SERVO
103 #ifndef DC_SHOOT_ON_BUTTON_RELEASE
107 #ifdef DC_ZOOM_IN_SERVO
112 #ifdef DC_ZOOM_OUT_SERVO
117 #ifdef DC_POWER_SERVO
#define DC_SHUTTER_DELAY
how long to push shutter in seconds
Communication between fbw and ap processes.
void dc_send_command(uint8_t cmd)
Send Command To Camera.
void dc_init(void)
initialize settings
void servo_cam_ctrl_init(void)
void servo_cam_ctrl_periodic(void)
void dc_periodic(void)
periodic function
void dc_send_shot_position(void)
Send Down the coordinates of where the photo was taken.