Goby3  3.1.5a
2024.05.23
pTranslator_config.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "goby/moos/protobuf/goby_moos_app.proto";
3 import "goby/moos/protobuf/translator.proto";
4 import "goby/protobuf/option_extensions.proto";
5 
6 package goby.apps.moos.protobuf;
7 
8 message pTranslatorConfig
9 {
10  optional goby.moos.protobuf.GobyMOOSAppConfig common = 1 [
11  (goby.field).description =
12  "Configuration common to all Goby MOOS applications"
13  ]; // see goby_moos_app.proto
14 
15  repeated string load_shared_library = 2
16  [(goby.field).description =
17  "Path to a shared library containing compiled Protobuf files. "
18  "Preferred over load_dccl_proto_file."];
19 
20  repeated string load_proto_file = 3
21  [(goby.field).description =
22  "Path to a Protobuf file. Use load_shared_library when possible."];
23 
24  repeated goby.moos.protobuf.TranslatorEntry translator_entry = 4
25  [(goby.field).description =
26  "Describes how to trigger (generate) a Protobuf message from a "
27  "MOOS event and how to re-publish the result"];
28 
29  optional string modem_id_lookup_path = 5 [
30  (goby.field).description =
31  "Path to file containing mapping between modem_id and vehicle name "
32  "& type",
33  (goby.field).moos_global = "modem_id_lookup_path"
34  ];
35 
36  repeated string multiplex_create_moos_var = 6
37  [(goby.field).description =
38  "Specify a MOOS variable that contains one of many TextFormat "
39  "protobuf messages which are distinguished by including the "
40  "Protobuf name before the message contents. e.g. \"DSOP_DEPLOY "
41  "DestinationPlatformId: 3 Deploy_Mode: DEPLOY_MODE_RETURN "
42  "Depth_Mode: DEPTH_MODE_SINGLE Sonar_Control: SONAR_CONTROL_OFF "
43  "Sonar_Process: SONAR_PROCESS_ON Deploy_Duration: 1800 Deploy_X: "
44  "2600 Deploy_Y: 1500 Deploy_Speed: 1.5 Deploy_Depth: 10 "
45  "Alternate_Depth: 20\""];
46 }