JaiaBot 2.0.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
5message CameraCommand
6{
7 // A unique id for this CameraCommand, used by CameraResponse to ack or respond
8 required int32 id = 1;
9
10 enum CameraCommandType
11 {
12 // Start taking images at a fixed rate
13 START_IMAGES = 0;
14 // Stop taking images
15 STOP_IMAGES = 1;
16 // Start taking video
17 START_VIDEO = 2;
18 // Stop taking video
19 STOP_VIDEO = 3;
20 // Return driver/camera metadata in the CameraResponse
21 GET_METADATA = 4;
22 }
23
24 required CameraCommandType type = 2;
25
26 // Image capture interval, in seconds
27 optional double image_capture_interval = 3;
28}
29
30message CameraResponse
31{
32 // The unique id of the corresponding CameraCommand
33 required int32 id = 1;
34
35 message Metadata {
36 // Version of this camera driver
37 optional int32 driver_version = 1;
38 }
39
40 // Metadata object, if that was requested
41 optional Metadata metadata = 2;
42}