2 import "goby/common/protobuf/option_extensions.proto";
3 import "goby/common/protobuf/app_base_config.proto";
5 package goby.moos.protobuf;
7 message MOOSGatewayConfig
9 optional AppBaseConfig base = 1;
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."];
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."];
28 repeated string load_proto_file = 11
29 [(goby.field).description =
30 "Path to a Protobuf file. Use load_shared_library when possible."];
32 message ProtobufMOOSBridgePair
34 required string pb_group = 1;
35 required string moos_var = 2;
41 required Direction direction = 3;
43 repeated ProtobufMOOSBridgePair pb_pair = 12
44 [(goby.field).description =
45 "Convert MOOS Variables to Goby PB Groups and vice/versa based on "
48 optional bool pb_convert = 13 [
50 (goby.field).description =
51 "Use a DynamicProtobuf Node on the PB side instead of a MOOSNode."