ardupilot/libraries/AP_Camera/AP_Camera_SoloGimbal.h

24 lines
560 B
C
Raw Normal View History

#pragma once
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <AP_Mount/AP_Mount.h>
#if HAL_SOLO_GIMBAL_ENABLED
class AP_Camera_SoloGimbal {
public:
static void gopro_shutter_toggle();
static void gopro_capture_mode_toggle();
static void handle_gopro_heartbeat(mavlink_channel_t chan, const mavlink_message_t &msg);
private:
static GOPRO_CAPTURE_MODE gopro_capture_mode;
static GOPRO_HEARTBEAT_STATUS gopro_status;
static bool gopro_is_recording;
static mavlink_channel_t heartbeat_channel;
};
#endif // HAL_SOLO_GIMBAL_ENABLED