4 // Toby Schneider <toby@gobysoft.org>
7 // This file is part of the JaiaBot Project Binaries
8 // ("The Jaia Binaries").
10 // The Jaia Binaries are free software: you can redistribute them and/or modify
11 // them under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 2 of the License, or
13 // (at your option) any later version.
15 // The Jaia Binaries are distributed in the hope that they will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
20 // You should have received a copy of the GNU General Public License
21 // along with the Jaia Binaries. If not, see <http://www.gnu.org/licenses/>.
25 import "goby/middleware/protobuf/app_config.proto";
26 import "goby/zeromq/protobuf/interprocess_config.proto";
27 import "goby/middleware/protobuf/serial_config.proto";
29 package jaiabot.config;
31 message AtlasOEMECThreadConfig
33 optional int32 sample_rate = 1 [default = 10];
34 optional int32 report_timeout_seconds = 2 [default = 20];
35 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
38 message BlueRoboticsBar30ThreadConfig
40 optional int32 sample_rate = 1 [default = 10];
41 optional int32 report_timeout_seconds = 2 [default = 20];
42 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
45 message AtlasOEMPHThreadConfig
47 optional int32 sample_rate = 1 [default = 10];
48 optional int32 report_timeout_seconds = 2 [default = 20];
49 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
52 message AtlasOEMDOThreadConfig
54 optional int32 sample_rate = 1 [default = 10];
55 optional int32 report_timeout_seconds = 2 [default = 20];
56 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
59 message FluorCoefficients
61 optional double offset = 1;
62 optional double coefficient = 2;
63 optional int32 serial_number = 3;
66 message TurnerCFluorThreadConfig
68 optional int32 sample_rate = 1 [default = 10];
69 optional int32 report_timeout_seconds = 2 [default = 20];
70 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
71 optional FluorCoefficients fluorometer_coefficients = 4;
76 optional goby.middleware.protobuf.AppConfig app = 1;
77 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
78 optional goby.middleware.protobuf.SerialConfig mcu_serial = 3;
79 optional AtlasOEMECThreadConfig ec = 10;
80 optional BlueRoboticsBar30ThreadConfig bar30 = 20;
81 optional AtlasOEMPHThreadConfig ph = 30;
82 optional AtlasOEMDOThreadConfig dissolved_oxygen = 40;
83 optional TurnerCFluorThreadConfig fluorometer = 50;