3import "goby/middleware/protobuf/app_config.proto";
4import "goby/zeromq/protobuf/interprocess_config.proto";
9// Goby requires a configuration message per application, so the six Python drivers share one
10// file rather than scattering near-identical protos through src/python. In every one of them
11// `simulate` takes readings from a device driven by jaiabot_simulator rather than hardware.
15 optional goby.middleware.protobuf.AppConfig app = 1;
16 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
17 optional bool simulate = 3 [default = false];
19 optional double sample_frequency = 10 [default = 10];
21 // How long the driver may go without publishing a reading before it reports itself
22 // degraded; jaiabot_health has no separate watchdog for these sensors.
23 optional int32 data_timeout_seconds = 90 [default = 40];
28 optional goby.middleware.protobuf.AppConfig app = 1;
29 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
30 optional bool simulate = 3 [default = false];
32 optional double sample_frequency = 10 [default = 10];
34 // I2C address of the Atlas Scientific EZO EC sensor; 100 is 0x64.
35 optional int32 i2c_address = 11 [default = 100];
37 // How long the driver may go without publishing a reading before it reports itself
38 // degraded; jaiabot_health has no separate watchdog for these sensors.
39 optional int32 data_timeout_seconds = 90 [default = 60];
44 optional goby.middleware.protobuf.AppConfig app = 1;
45 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
46 optional bool simulate = 3 [default = false];
48 // The Bar30/Bar02 oversampling rate is chosen from this, so only these values are accepted.
49 optional double sample_frequency = 10 [default = 10];
56 optional SensorType sensor_type = 11 [default = BAR30];
58 // How long the driver may go without publishing a reading before it reports itself
59 // degraded; jaiabot_health has no separate watchdog for these sensors.
60 optional int32 data_timeout_seconds = 90 [default = 60];
65 optional goby.middleware.protobuf.AppConfig app = 1;
66 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
67 optional bool simulate = 3 [default = false];
69 optional double sample_frequency = 10 [default = 10];
73 // 1 was BNO055, no longer supported
76 optional DeviceType device_type = 11 [default = BNO085];
78 // Frequency the acceleration analyzer resamples to for wave height analysis.
79 optional double wave_analysis_frequency = 12 [default = 4];
80 optional bool dump_wave_analysis_html = 13 [default = false];
82 // Simulated sea state, used only when simulate: true and no simulator is publishing.
83 optional double simulated_wave_height = 20 [default = 1];
84 optional double simulated_wave_period = 21 [default = 5];
89 optional goby.middleware.protobuf.AppConfig app = 1;
90 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
91 optional bool simulate = 3 [default = false];
93 optional double status_frequency = 10 [default = 1];
94 optional string serial_device = 11 [default = "/dev/ttyAMA5"];
99 optional goby.middleware.protobuf.AppConfig app = 1;
100 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
101 optional bool simulate = 3 [default = false];
103 optional string gpsd_host = 10 [default = "localhost"];
104 optional int32 gpsd_port = 11 [default = 2947];
106 // Read UBX from this file instead of GPSD; implies simulate.
107 optional string input_file = 12;
108 // Write the raw UBX stream here in addition to publishing it.
109 optional string output_file = 13;