Goby v2
iver_driver.proto
1 
2 import "goby/moos/protobuf/frontseat.proto";
3 
4 package goby.moos.protobuf;
5 
6 message IverState
7 {
8  enum IverMissionMode
9  {
10  IVER_MODE_UNKNOWN = -1;
11  IVER_MODE_NORMAL = 0x4E; // 'N'
12  IVER_MODE_STOPPED = 0x53; // 'S'
13  IVER_MODE_PARKING = 0x50; // 'P'
14  IVER_MODE_MANUAL_OVERRIDE = 0x4D; // 'M'
15  IVER_MODE_MANUAL_PARKING = 0x6D; // 'm' ("mP")
16  IVER_MODE_SERVO_MODE = 0x41; // 'A'
17  IVER_MODE_MISSION_MODE = 0x57; // 'W'
18  }
19  optional IverMissionMode mode = 1 [default = IVER_MODE_UNKNOWN];
20 }
21 
22 message IverExtraCommands
23 {
24  enum IverCommand
25  {
26  UNKNOWN_COMMAND = 0;
27  START_MISSION = 1;
28  STOP_MISSION = 2;
29  }
30  optional IverCommand command = 1 [default = UNKNOWN_COMMAND];
31  optional string mission = 2;
32 }
33 
34 extend CommandRequest
35 {
36  optional IverExtraCommands iver_command = 1001;
37 }
38 
39 extend FrontSeatInterfaceData
40 {
41  optional IverState iver_state = 1001;
42 }