26 #include "generated/airframe.h"
27 #include "generated/modules.h"
65 tab[1] = (
uint8_t)(expo * 10.f);
67 DOWNLINK_SEND_PAYLOAD_COMMAND(
extra_pprz_tp, EXTRA_DOWNLINK_DEVICE, &dst_id, 2, tab);
71 if (DL_PAYLOAD_COMMAND_ac_id(buf) != AC_ID) {
return; }
74 if (DL_PAYLOAD_COMMAND_command_length(buf) == 2 && DL_PAYLOAD_COMMAND_command(buf)[0] ==
'e') {
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.
Standard Digital Camera Control Interface.
Common code for AP and FBW telemetry.
void pprzlink_cam_ctrl_init(void)
void dc_send_command(uint8_t cmd)
Send Command To Camera.
void pprzlink_cam_ctrl_periodic(void)
Periodic.
void pprzlink_cam_ctrl_set_expo(float expo)
void dc_expo_cb(uint8_t *buf)
float digital_cam_exposure
Set expo setting.
Digital Camera Control with PPRZLINK messages.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.