Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion protobuf_definitions/control.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 10 additions & 2 deletions protobuf_definitions/message_formats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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).
Expand Down