42 #include "generated/airframe.h"
147 #define DC_IGNORE FLT_MAX
151 #ifndef DC_IMAGE_BUFFER
152 #define DC_IMAGE_BUFFER 65535
196 #define dc_Circle(interval) dc_circle(interval, DC_IGNORE)
222 #define dc_Survey(interval) dc_survey(interval, DC_IGNORE, DC_IGNORE)
232 #define dc_Stop(_) dc_stop()
float dc_circle_start_angle
angle a where first image will be taken at a + delta
float dc_survey_interval
distance between dc shots in meters
void dc_periodic(void)
periodic function
uint8_t dc_survey(float interval, float x, float y)
Sets the dc control in distance mode.
void dc_init(void)
initialize settings
float dc_distance_interval
AutoShoot photos on distance to last shot in meters.
dc_autoshoot_type dc_autoshoot
uint8_t dc_stop(void)
Stop dc control.
dc_command_type
Generic Set of Digital Camera Commands.
void dc_send_command_common(uint8_t cmd)
Command sending function.
float dc_circle_last_block
void dc_send_command(uint8_t cmd)
Send Command To Camera.
uint16_t dc_photo_nr
export the number of the last photo
float dc_gps_x
point of reference for the survey mode
uint8_t dc_distance(float interval)
Sets the dc control in distance mode.
float dc_autoshoot_period
AutoShoot photos every X seconds.
uint16_t dc_gps_count
number of images taken since the last change of dc_mode
void dc_send_shot_position(void)
Send Down the coordinates of where the photo was taken.
float dc_exposure
camera exposure
uint8_t dc_info(void)
Send an info message.
float dc_circle_interval
angle between dc shots in degree
uint8_t dc_circle(float interval, float start)
Sets the dc control in circle mode.
float dc_cam_angle
camera angle
float dc_circle_max_blocks
dc_autoshoot_type
Auotmatic Digital Camera Photo Triggering modes.
void dc_set_expo(float expo)
Set camera exposure.
Device independent GPS code (interface)
API to get/set the generic vehicle states.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.