JaiaBot  1.19.0
JaiaBot micro-AUV software
config.proto
Go to the documentation of this file.
1 // Copyright 2021:
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 
23 syntax = "proto2";
24 
25 import "goby/middleware/protobuf/app_config.proto";
26 import "goby/zeromq/protobuf/interprocess_config.proto";
27 import "goby/middleware/protobuf/serial_config.proto";
28 import "jaiabot/messages/bounds.proto";
29 
30 package jaiabot.config;
31 
32 message ArduinoDriverConfig
33 {
34  // required parameters for ApplicationBase3 class
35  optional goby.middleware.protobuf.AppConfig app = 1;
36  // required parameters for connecting to 'gobyd'
37  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
38 
39  required goby.middleware.protobuf.SerialConfig serial_arduino = 11;
40 
41  required jaiabot.protobuf.Bounds bounds = 20;
42 
43  message ArduinoVersionTable
44  {
45  required uint32 arduino_version = 1;
46  optional string app_versions_compatible_from = 2 [default = ""];
47  optional string app_versions_compatible_to = 3 [default = ""];
48  }
49 
50  repeated ArduinoVersionTable arduino_version_table = 21;
51 
52  optional int32 arduino_report_timeout_seconds = 22 [default = 2];
53 
54  optional int32 arduino_restart_timeout_seconds = 23 [default = 10];
55 }