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 "jaiabot/messages/metadata.proto";
28 
29 package jaiabot.config;
30 
31 message Metadata
32 {
33  // required parameters for ApplicationBase3 class
34  optional goby.middleware.protobuf.AppConfig app = 1;
35  // required parameters for connecting to 'gobyd'
36  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
37 
38  // any specific configuration parameters for your application
39 
40  // Xbee configuration
41  optional jaiabot.protobuf.XbeeInfo xbee = 10;
42 
43  // Is this a real bot, or just a fantasy?
44  optional bool is_simulation = 11;
45 
46  optional uint32 fleet_id = 20;
47  oneof node_type
48  {
49  uint32 hub_id = 21;
50  uint32 bot_id = 22;
51  }
52 }