Goby v2
app_base_config.proto
1 
2 import "goby/common/protobuf/option_extensions.proto";
3 import "goby/common/protobuf/zero_mq_node_config.proto";
4 import "goby/common/protobuf/pubsub_node_config.proto";
5 // import "protobuf/database_request.proto";
6 import "goby/common/protobuf/logger.proto";
7 
8 message AppBaseConfig
9 {
10  optional string app_name = 1 [
11  (goby.field).example = "myapp_g",
12  (goby.field).description =
13  "default is compiled name - change this to run multiple instances"
14  ];
15  // used only by ApplicationBase, ignored by gobyd
16  optional float loop_freq = 2 [
17  default = 10,
18  (goby.field).description = "the frequency (Hz) used to run loop()"
19  ];
20 
21  optional string platform_name = 3 [
22  default = "unnamed_goby_platform",
23  (goby.field).description =
24  "a unique name for this platform (a platform in this context is a "
25  "ship, AUV, workstation, etc.)"
26  ];
27 
28  optional goby.common.protobuf.PubSubSocketConfig pubsub_config = 10
29  [(goby.field).description =
30  "configure the connection to the publish / subscribe message "
31  "passing architecture"];
32 
33  // advanced options
34  optional goby.common.protobuf.ZeroMQServiceConfig additional_socket_config =
35  100
36  [(goby.field).description =
37  "open other ZeroMQ sockets, note that `socket_id`s 103998 and "
38  "103999 are reserved for the publish / subscribe functionality"];
39 
40  optional goby.common.protobuf.GLogConfig glog_config = 11
41  [(goby.field).description =
42  "configure the Goby Logger (TTY terminal and file debugging "
43  "logger)"];
44 
45  extensions 1000 to max;
46 
47  // optional goby.common.protobuf.DatabaseClientConfig database_config = 12
48  // [(goby.field).description="configure the Goby Database (SQL Database) to
49  // log the publish/subscribe transactions"];
50 }