JaiaBot  1.12.1~beta1
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 }
28 
29 message PortalToClientMessage
30 {
31  option (dccl.msg) = {
32  unit_system: "si"
33  };
34 
35  optional BotStatus bot_status = 1;
36  optional Engineering engineering_status = 2;
37  optional HubStatus hub_status = 3;
38  optional TaskPacket task_packet = 4;
39  optional DeviceMetadata device_metadata = 5;
40 
41  // 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
42  optional MissionPlan active_mission_plan = 6;
43 
44 }