JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
portal.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4import "jaiabot/messages/engineering.proto";
5import "jaiabot/messages/hub.proto";
6import "jaiabot/messages/jaia_dccl.proto";
7import "jaiabot/messages/metadata.proto";
8import "jaiabot/messages/mission.proto";
9
10package 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
17message 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
30message 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}