JaiaBot  1.12.1~beta1
JaiaBot micro-AUV software
hub.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 import "jaiabot/messages/health.proto";
5 import "goby/middleware/protobuf/coroner.proto";
6 import "jaiabot/messages/geographic_coordinate.proto";
7 
8 package jaiabot.protobuf;
9 
10 message HubStatus
11 {
12  option (dccl.msg) = {
13  unit_system: "si"
14  };
15 
16  required uint32 hub_id = 1;
17  required uint32 fleet_id = 2;
18  required uint64 time = 3 [
19  (dccl.field) = { units { prefix: "micro" derived_dimensions: "time" } }
20  ];
21 
22  optional goby.middleware.protobuf.HealthState health_state = 4;
23  repeated Error error = 5 [
24  (dccl.field).max_repeat = 255
25  ]; // set max_repeat to a high value as we're not sending this over DCCL
26  // for now, but populate_status_from_health uses this value
27  repeated Warning warning = 6 [(dccl.field).max_repeat = 255];
28 
29  optional GeographicCoordinate location = 10;
30 
31  repeated uint32 bot_ids_in_radio_file = 11 [(dccl.field).max_repeat = 255];
32 
33  optional LinuxHardwareStatus linux_hardware_status = 12;
34 
35  message BotOffloadData
36  {
37  required uint32 bot_id = 1;
38  optional int32 data_offload_percentage = 2;
39  optional bool offload_succeeded = 3;
40  }
41  optional BotOffloadData bot_offload = 13;
42 }