Goby3  3.1.5a
2024.05.23
moos_gateway_config.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "goby/middleware/protobuf/app_config.proto";
3 import "goby/zeromq/protobuf/interprocess_config.proto";
4 import "goby/moos/protobuf/translator.proto";
5 import "goby/protobuf/option_extensions.proto";
6 
7 package goby.apps.moos.protobuf;
8 
9 message GobyMOOSGatewayConfig
10 {
11  optional goby.middleware.protobuf.AppConfig app = 1;
12  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
13  [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
14 
15  message MOOSConfig
16  {
17  optional string server = 3 [default = "localhost"];
18  optional int32 port = 4 [default = 9000];
19  optional bool use_binary_protobuf = 109 [
20  default = false,
21  (goby.field).description =
22  "If true, use TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED for "
23  "parse_for_moos "
24  "and serialize_for_moos"
25  ];
26  optional goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique
27  moos_parser_technique = 110
28  [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
29  }
30  optional MOOSConfig moos = 3;
31 
32  // frequency at which MOOS Fetch() is called - this allows us to interleave
33  // with Goby without thread access management in the user plugins
34  optional float poll_frequency = 20 [default = 10];
35 
36  extensions 1000 to max;
37  // 1000: LAMSS
38  // 1001: JaiaBot
39 }