Goby3  3.1.5a
2024.05.23
logger_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 "dccl/option_extensions.proto";
5 import "goby/protobuf/option_extensions.proto";
6 
7 package goby.apps.zeromq.protobuf;
8 
9 message LoggerConfig
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  required string log_dir = 3;
16 
17  optional string type_regex = 4 [default = ".*"];
18  optional string group_regex = 5 [default = ".*"];
19 
20  message Omit
21  {
22  optional bool file_timestamp = 1 [default = false];
23  optional bool latest_symlink = 2 [default = false];
24  }
25  optional Omit omit = 6;
26 
27  repeated string load_shared_library = 10;
28 
29  optional bool log_at_startup = 12 [default = true];
30 }
31 
32 message PlaybackConfig
33 {
34  option (dccl.msg).unit_system = "si";
35 
36  optional goby.middleware.protobuf.AppConfig app = 1;
37  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
38  [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
39 
40  required string input_file = 10 [(goby.field) = {
41  description: "Input goby_logger file to read (e.g. 'vehicle_20200204T121314.goby')"
42  cfg { position: { enable: true }, cli_short: "i" }
43  }];
44 
45  optional double rate = 11 [default = 1];
46 
47  optional double playback_start_delay = 12
48  [default = 1, (dccl.field).units.base_dimensions = "T"];
49 
50  optional double start_from_offset = 13
51  [default = 0, (dccl.field).units.base_dimensions = "T"];
52 
53  optional string group_regex = 20 [default = ".*"];
54  message TypeFilter
55  {
56  required int32 scheme = 1;
57  optional string regex = 2 [default = ".*"];
58  }
59  repeated TypeFilter type_filter = 21;
60 
61  repeated string load_shared_library = 40
62  [(goby.field).description =
63  "Load a shared library (e.g. to load Protobuf files)"];
64 }