Goby v2
moos_gateway_config.proto
1 
2 import "goby/common/protobuf/option_extensions.proto";
3 import "goby/common/protobuf/app_base_config.proto";
4 
5 package goby.moos.protobuf;
6 
7 message MOOSGatewayConfig
8 {
9  optional AppBaseConfig base = 1;
10 
11  optional string moos_server_host = 2 [default = "localhost"];
12  optional uint32 moos_server_port = 3 [default = 9000];
13  optional uint32 moos_comm_tick = 4 [default = 5];
14  repeated string moos_subscribe_filter = 5
15  [(goby.field).description =
16  "Substring filter for all MOOS subscriptions; 'NAV_' matches "
17  "'NAV_X', 'NAV_Y', etc.; '' matches everything."];
18  repeated string goby_subscribe_filter = 6
19  [(goby.field).description =
20  "Substring filter for all Goby (ZeroMQ) subscriptions; 'NAV_' "
21  "matches 'NAV_X', 'NAV_Y', etc.; '' matches everything."];
22 
23  repeated string load_shared_library = 10
24  [(goby.field).description =
25  "Path to a shared library containing compiled Protobuf files. "
26  "Preferred over load_dccl_proto_file."];
27 
28  repeated string load_proto_file = 11
29  [(goby.field).description =
30  "Path to a Protobuf file. Use load_shared_library when possible."];
31 
32  message ProtobufMOOSBridgePair
33  {
34  required string pb_group = 1;
35  required string moos_var = 2;
36  enum Direction
37  {
38  PB_TO_MOOS = 1;
39  MOOS_TO_PB = 2;
40  };
41  required Direction direction = 3;
42  }
43  repeated ProtobufMOOSBridgePair pb_pair = 12
44  [(goby.field).description =
45  "Convert MOOS Variables to Goby PB Groups and vice/versa based on "
46  "these directives."];
47 
48  optional bool pb_convert = 13 [
49  default = false,
50  (goby.field).description =
51  "Use a DynamicProtobuf Node on the PB side instead of a MOOSNode."
52  ];
53 }