JaiaBot 2.5.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
config.proto
Go to the documentation of this file.
1// Copyright 2024:
2// JaiaRobotics LLC
3// File authors:
4// Toby Schneider <toby@gobysoft.org>
5//
6//
7// This file is part of the JaiaBot Project Binaries
8// ("The Jaia Binaries").
9//
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.
14//
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.
19//
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/>.
22
23syntax = "proto2";
24
25import "goby/middleware/protobuf/app_config.proto";
26import "goby/zeromq/protobuf/interprocess_config.proto";
27import "goby/middleware/protobuf/serial_config.proto";
28import "jaiabot/messages/sensor/turner__c_fluor.proto";
29
30package jaiabot.config;
31
32message AtlasOEMECThreadConfig
33{
34 optional int32 sample_rate = 1 [default = 10];
35 optional int32 report_timeout_seconds = 2 [default = 20];
36 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
37}
38
39message BlueRoboticsBar30ThreadConfig
40{
41 optional int32 sample_rate = 1 [default = 10];
42 optional int32 report_timeout_seconds = 2 [default = 20];
43 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
44}
45
46message AtlasOEMPHThreadConfig
47{
48 optional int32 sample_rate = 1 [default = 10];
49 optional int32 report_timeout_seconds = 2 [default = 20];
50 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
51}
52
53message AtlasOEMDOThreadConfig
54{
55 optional int32 sample_rate = 1 [default = 10];
56 optional int32 report_timeout_seconds = 2 [default = 20];
57 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
58}
59
60message TurnerCFluorThreadConfig
61{
62 optional int32 sample_rate = 1 [default = 10];
63 optional int32 report_timeout_seconds = 2 [default = 20];
64 optional int32 resend_cfg_timeout_seconds = 3 [default = 20];
65 optional jaiabot.sensor.protobuf.FluorCoefficients fluorometer_coefficients = 4;
66}
67
68message Sensors
69{
70 optional goby.middleware.protobuf.AppConfig app = 1;
71 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
72 optional goby.middleware.protobuf.SerialConfig mcu_serial = 3;
73 optional AtlasOEMECThreadConfig ec = 10;
74 optional BlueRoboticsBar30ThreadConfig bar30 = 20;
75 optional AtlasOEMPHThreadConfig ph = 30;
76 optional AtlasOEMDOThreadConfig dissolved_oxygen = 40;
77 optional TurnerCFluorThreadConfig fluorometer = 50;
78}