2 import "goby/common/protobuf/liaison_config.proto";
3 import "goby/acomms/protobuf/network_ack.proto";
4 import "goby/moos/protobuf/translator.proto";
6 package goby.common.protobuf;
8 extend goby.common.protobuf.LiaisonConfig
10 optional MOOSScopeConfig moos_scope_config = 1000;
11 optional ProtobufCommanderConfig pb_commander_config = 1001;
12 optional GeodesyConfig geodesy_config = 1002;
13 optional AcommsConfig acomms_config = 1003;
16 message ProtobufCommanderConfig
18 repeated string load_protobuf_name = 1;
20 optional int32 value_width_pixels = 10 [default = 500];
21 optional int32 modify_width_pixels = 11 [default = 100];
23 optional string sqlite3_database = 20
24 [default = "/tmp/liaison_commander_autosave.db"];
25 optional int32 database_pool_size = 21 [default = 10];
26 optional int32 database_view_height = 5 [default = 400];
30 option allow_alias = true;
40 message DatabaseColumnWidthPixels
42 optional int32 comment_width = 1 [default = 180];
43 optional int32 name_width = 2 [default = 180];
44 optional int32 ip_width = 3 [default = 120];
45 optional int32 time_width = 4 [default = 120];
46 optional int32 last_ack_width = 5 [default = 120];
48 optional DatabaseColumnWidthPixels database_width = 22;
50 message ModalDialogDimensions
52 optional int32 width = 1 [default = 800];
53 optional int32 height = 2 [default = 200];
55 optional ModalDialogDimensions modal_dimensions = 23;
57 repeated string subscription = 30;
59 optional string time_source_var = 40;
61 optional string network_ack_var = 41 [default = "ACOMMS_NETWORK_ACK"];
63 optional goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique
64 moos_parser_technique = 50
65 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
70 optional uint64 newest_ack_time = 1;
71 repeated goby.acomms.protobuf.NetworkAck ack = 2;
74 message MOOSScopeConfig
76 repeated string subscription = 1;
80 option allow_alias = true;
88 COLUMN_SOURCE_AUX = 6;
92 message ColumnWidthPixels
94 optional int32 key_width = 1 [default = 150];
95 optional int32 type_width = 2 [default = 60];
96 optional int32 value_width = 3 [default = 200];
97 optional int32 time_width = 4 [default = 150];
98 optional int32 community_width = 5 [default = 80];
99 optional int32 source_width = 6 [default = 80];
100 optional int32 source_aux_width = 7 [default = 120];
102 optional ColumnWidthPixels column_width = 2;
103 optional Column sort_by_column = 3 [default = COLUMN_KEY];
104 optional bool sort_ascending = 4 [default = true];
105 optional int32 scope_height = 5 [default = 400];
107 optional Column regex_filter_column = 6 [default = COLUMN_KEY];
108 optional string regex_filter_expression = 7 [default = ".*"];
110 message HistoryConfig
112 required string key = 1;
113 optional bool show_plot = 2 [default = false];
114 optional int32 plot_width = 3 [default = 800];
115 optional int32 plot_height = 4 [default = 300];
118 repeated HistoryConfig history = 8;
120 optional int32 max_history_items = 10 [default = 100];
122 optional goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique
123 moos_parser_technique = 20
124 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
127 message GeodesyConfig
129 required double lat_origin = 1;
130 required double lon_origin = 2;
135 optional bool minimize_dccl = 1 [default = false];
136 optional bool minimize_queue = 2 [default = false];
137 optional bool minimize_amac = 3 [default = false];
138 optional bool minimize_driver = 4 [default = false];