JaiaBot  1.12.0+7+gdc1e5561
JaiaBot micro-AUV software
moos.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 
5 package jaiabot.protobuf;
6 
7 // Protobuf version of CMOOSMsg
8 message MOOSMessage
9 {
10  enum Type
11  {
12  TYPE_DOUBLE = 0x44; // 'D'
13  TYPE_STRING = 0x53; // 'S'
14  TYPE_BINARY_STRING = 0x42; // 'B'
15  }
16  required Type type = 1;
17  required string key = 2;
18 
19  oneof value
20  {
21  string svalue = 3;
22  double dvalue = 4;
23  bytes bvalue = 5;
24  }
25 
26  required double unixtime = 6;
27  required int32 id = 7;
28  required string source = 8;
29  optional string source_aux = 9;
30  required string community = 10;
31 }