diff --git a/protobuf_definitions/control.proto b/protobuf_definitions/control.proto index 980ac401..6a89cd9f 100644 --- a/protobuf_definitions/control.proto +++ b/protobuf_definitions/control.proto @@ -47,13 +47,15 @@ message WatchdogCtrl { uint32 client_id = 2; // The ID of the client, received in the ConnectClientRep response. } -// Issue a command to start video recording. +// Issue a command to start video or multibeam recording. message RecordCtrl { RecordOn record_on = 1; // Message specifying which cameras to record. + StorageLocation storage_location = 2; // Storage location to use for the recordings. } // Issue a command to take a picture. message TakePictureCtrl { + StorageLocation storage_location = 1; // Storage location to use for the picture. } // Issue a command to start compass calibration. diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index c1ea920e..471e350e 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -592,13 +592,22 @@ message DiveTime { int32 value = 1; // Number of seconds the drone has been submerged. } -// Which cameras are supposed to be recording. +// Which cameras or multibeam are supposed to be recording. message RecordOn { bool main = 1; // Record the main camera. bool guestport = 2; // Record external camera. bool multibeam = 3; // Record multibeam. } +// Storage location. +// +// Used to specify which storage location to use for recording photos and videos. +enum StorageLocation { + STORAGE_LOCATION_UNSPECIFIED = 0; // Unspecified. + STORAGE_LOCATION_INTERNAL = 1; // Internal storage of the drone. + STORAGE_LOCATION_REMOVABLE = 2; // Removable storage device. +} + // Storage space. message StorageSpace { int64 total_space = 1; // Total bytes of storage space (B). @@ -814,7 +823,6 @@ enum StreamingProtocol { STREAMING_PROTOCOL_RTSP_MJPEG = 2; // RTSP streaming protocol using MJPEG codec. } - // Camera parameters. message CameraParameters { int32 h264_bitrate = 1; // Bitrate of the h264 stream (bit/sec).