2 import "goby/middleware/protobuf/frontseat_data.proto";
4 package goby.middleware.frontseat.protobuf;
10 INTERFACE_COMMAND = 3;
11 INTERFACE_HELM_ERROR = 4;
12 INTERFACE_FS_ERROR = 5;
17 FRONTSEAT_NOT_CONNECTED = 0;
19 FRONTSEAT_ACCEPTING_COMMANDS = 2;
20 FRONTSEAT_IN_CONTROL = 3;
30 message HelmStateReport
32 required HelmState state = 1;
38 ERROR_HELM_NOT_RUNNING = 1;
39 ERROR_HELM_PARKED = 2;
44 ERROR_FRONTSEAT_NONE = 0;
45 ERROR_FRONTSEAT_NOT_CONNECTED = 1;
46 ERROR_FRONTSEAT_NOT_PROVIDING_DATA = 2;
47 ERROR_FRONTSEAT_IGNORING_COMMANDS = 3;
50 message InterfaceStatus
52 optional InterfaceState state = 1;
53 optional FrontSeatState frontseat_state = 2;
54 optional HelmState helm_state = 3;
55 optional HelmError helm_error = 4;
56 optional FrontSeatError frontseat_error = 5;
59 message CommandRequest
61 optional DesiredCourse desired_course = 1;
62 optional bool response_requested = 10 [default = false];
63 optional int32 request_id = 11;
65 optional int32 cancel_request_id =
66 20; // if possible, tell the driver to stop trying to process this
69 extensions 1000 to max;
74 message CommandResponse
76 optional bool request_successful = 10;
77 optional int32 request_id = 11;
78 optional int32 error_code = 20 [default = 0];
79 optional string error_string = 21;
81 extensions 1000 to max;
86 optional NodeStatus node_status = 1;
87 optional CTDSample ctd_sample = 2;
88 optional bytes dccl_message = 3;
90 extensions 1000 to max;
97 optional bytes raw = 1;
103 optional RawType type = 2 [default = RAW_ASCII];
104 optional string description = 3;
106 extensions 1000 to max;