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