JaiaBot 2.1.1
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";
28
29package jaiabot.config;
30
31message AtlasOEMECThreadConfig
32{
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];
36}
37
38message BlueRoboticsBar30ThreadConfig
39{
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];
43}
44
45message AtlasOEMPHThreadConfig
46{
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];
50}
51
52message AtlasOEMDOThreadConfig
53{
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];
57}
58
59message FluorCoefficients
60{
61 optional double offset = 1;
62 optional double coefficient = 2;
63 optional int32 serial_number = 3;
64}
65
66message TurnerCFluorThreadConfig
67{
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;
72}
73
74message Sensors
75{
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;
84}