JaiaBot 2.6.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
config.proto
Go to the documentation of this file.
1// Copyright 2026:
2// JaiaRobotics LLC
3// File authors:
4// Ed Sanville <edsanville@gmail.com>
5//
6//
7// This file is part of the JaiaBot Hydro 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/udp_config.proto";
28
29import "jaiabot/messages/echo.proto";
30import "jaiabot/messages/imu.proto";
31
32package jaiabot.config;
33
34message UDPGateway
35{
36 // required parameters for ApplicationBase3 class
37 optional goby.middleware.protobuf.AppConfig app = 1;
38
39 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
40
41 required goby.middleware.protobuf.UDPOneToManyConfig udp_config = 3;
42
43 // Timeouts for sensors
44 optional int32 imu_data_report_timeout_seconds = 10 [default = 30];
45 optional jaiabot.protobuf.IMUIssue.SolutionType imu_issue_solution = 12 [default = REBOOT_BNO085_IMU];
46 optional int32 imu_trigger_issue_timeout_seconds = 13 [default = 30];
47
48 optional int32 salinity_data_report_timeout_seconds = 14 [default = 60];
49 optional int32 pressure_temperature_data_report_timeout_seconds = 15 [default = 60];
50
51 // TSYS01
52 optional bool tsys01_enabled = 20 [default = false];
53 optional int32 tsys01_data_report_timeout_seconds = 16 [default = 40];
54
55 // Echo
56 optional bool echo_enabled = 21 [default = true];
57 optional int32 echo_data_report_timeout_seconds = 17 [default = 20];
58 optional jaiabot.protobuf.EchoIssue.SolutionType echo_issue_solution = 18 [default = REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY];
59 optional int32 echo_trigger_issue_timeout_seconds = 19 [default = 20];
60
61 // Salinity Chip
62 optional bool salinity_enabled = 22 [default = true];
63
64 // Bar30
65 optional bool bar30_enabled = 23 [default = true];
66
67 optional bool in_simulation = 11 [default = true];
68}