JaiaBot 1.10.0+14+g8dbf2589
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
moos.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4
5package jaiabot.protobuf;
6
7// Protobuf version of CMOOSMsg
8message 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}