Skip to content

Commit 763012c

Browse files
authored
Merge pull request #221 from BluEye-Robotics/media-storage-location-option
Add parameter to specify storage location
2 parents bb5ffe7 + 7b61642 commit 763012c

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

protobuf_definitions/control.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ message WatchdogCtrl {
4747
uint32 client_id = 2; // The ID of the client, received in the ConnectClientRep response.
4848
}
4949

50-
// Issue a command to start video recording.
50+
// Issue a command to start video or multibeam recording.
5151
message RecordCtrl {
5252
RecordOn record_on = 1; // Message specifying which cameras to record.
53+
StorageLocation storage_location = 2; // Storage location to use for the recordings.
5354
}
5455

5556
// Issue a command to take a picture.
5657
message TakePictureCtrl {
58+
StorageLocation storage_location = 1; // Storage location to use for the picture.
5759
}
5860

5961
// Issue a command to start compass calibration.

protobuf_definitions/message_formats.proto

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,13 +592,22 @@ message DiveTime {
592592
int32 value = 1; // Number of seconds the drone has been submerged.
593593
}
594594

595-
// Which cameras are supposed to be recording.
595+
// Which cameras or multibeam are supposed to be recording.
596596
message RecordOn {
597597
bool main = 1; // Record the main camera.
598598
bool guestport = 2; // Record external camera.
599599
bool multibeam = 3; // Record multibeam.
600600
}
601601

602+
// Storage location.
603+
//
604+
// Used to specify which storage location to use for recording photos and videos.
605+
enum StorageLocation {
606+
STORAGE_LOCATION_UNSPECIFIED = 0; // Unspecified.
607+
STORAGE_LOCATION_INTERNAL = 1; // Internal storage of the drone.
608+
STORAGE_LOCATION_REMOVABLE = 2; // Removable storage device.
609+
}
610+
602611
// Storage space.
603612
message StorageSpace {
604613
int64 total_space = 1; // Total bytes of storage space (B).
@@ -814,7 +823,6 @@ enum StreamingProtocol {
814823
STREAMING_PROTOCOL_RTSP_MJPEG = 2; // RTSP streaming protocol using MJPEG codec.
815824
}
816825

817-
818826
// Camera parameters.
819827
message CameraParameters {
820828
int32 h264_bitrate = 1; // Bitrate of the h264 stream (bit/sec).

0 commit comments

Comments
 (0)