JaiaBot  1.19.0
JaiaBot micro-AUV software
portal.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 import "jaiabot/messages/engineering.proto";
5 import "jaiabot/messages/hub.proto";
6 import "jaiabot/messages/jaia_dccl.proto";
7 import "jaiabot/messages/metadata.proto";
8 import "jaiabot/messages/mission.proto";
9 
10 package jaiabot.protobuf;
11 
12 /****************************************************************
13 * No need to set restrictions on these messages because they are
14 * not being sent over the radio.
15 *****************************************************************/
16 
17 message ClientToPortalMessage
18 {
19  option (dccl.msg) = {
20  unit_system: "si"
21  };
22 
23  optional Engineering engineering_command = 1;
24  optional Command command = 2;
25  optional CommandForHub command_for_hub = 3;
26  optional bool ping = 4;
27  optional string client_id = 5;
28 }
29 
30 message PortalToClientMessage
31 {
32  option (dccl.msg) = {
33  unit_system: "si"
34  };
35 
36  optional BotStatus bot_status = 1;
37  optional Engineering engineering_status = 2;
38  optional HubStatus hub_status = 3;
39  optional TaskPacket task_packet = 4;
40  optional DeviceMetadata device_metadata = 5;
41 
42  // For sending a bot's currently active mission back to all the clients, so they can update their GUI to show the active missions for each bot
43  optional MissionPlan active_mission_plan = 6;
44  optional ContactUpdate contact_update = 7;
45 
46 }