JaiaBot 2.3.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
camera_driver.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3package jaiabot.protobuf;
4
5enum CameraType {
6 AFT = 0;
7 FORE = 1;
8 OUTWARD = 2;
9 NO_CAMERA = 3;
10}
11
12message CameraCommand
13{
14 // A unique id for this CameraCommand, used by CameraResponse to ack or respond
15 required int32 id = 1;
16
17 enum CameraCommandType
18 {
19 // Start taking images at a fixed rate
20 START_IMAGES = 0;
21 // Stop taking images
22 STOP_IMAGES = 1;
23 // Start taking video
24 START_VIDEO = 2;
25 // Stop taking video
26 STOP_VIDEO = 3;
27 // Return driver/camera metadata in the CameraResponse
28 GET_METADATA = 4;
29 }
30
31 required CameraCommandType type = 2;
32
33 // Image capture interval, in seconds
34 optional double image_capture_interval = 3;
35
36 optional string datetime = 4;
37}
38
39message CameraResponse
40{
41 // The unique id of the corresponding CameraCommand
42 required int32 id = 1;
43
44 message Metadata {
45 // Version of this camera driver
46 optional int32 driver_version = 1;
47 }
48
49 // Metadata object, if that was requested
50 optional Metadata metadata = 2;
51}