JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
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
23syntax = "proto2";
24
25import "goby/middleware/protobuf/app_config.proto";
26import "goby/zeromq/protobuf/interprocess_config.proto";
27import "jaiabot/messages/health.proto";
28
29package jaiabot.config;
30
31message FailureReporter
32{
33 optional goby.middleware.protobuf.AppConfig app = 1;
34 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
35
36 enum State
37 {
38 START = 1;
39 STOP = 2;
40 }
41 required string log_dir = 9;
42
43 required State state = 10;
44 required protobuf.Error error_code = 11;
45 required string service_name = 12;
46 optional string service_result = 13;
47 optional int32 num_attempts = 14 [default = 5];
48}