Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
moos_gateway_config.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "goby/middleware/protobuf/app_config.proto";
3import "goby/zeromq/protobuf/interprocess_config.proto";
4import "goby/moos/protobuf/translator.proto";
5import "goby/protobuf/option_extensions.proto";
6
7package goby.apps.moos.protobuf;
8
9message 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}