2import "goby/middleware/protobuf/frontseat_data.proto";
4package 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;
30message 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;
50message 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;
57 optional bool frontseat_providing_data = 6;
62 optional DesiredCourse desired_course = 1;
63 optional bool response_requested = 10 [default = false];
64 optional int32 request_id = 11;
66 optional int32 cancel_request_id =
67 20; // if possible, tell the driver to stop trying to process this
70 extensions 1000 to max;
75message CommandResponse
77 optional bool request_successful = 10;
78 optional int32 request_id = 11;
79 optional int32 error_code = 20 [default = 0];
80 optional string error_string = 21;
82 extensions 1000 to max;
87 optional NodeStatus node_status = 1;
88 optional CTDSample ctd_sample = 2;
89 optional bytes dccl_message = 3;
91 extensions 1000 to max;
98 optional bytes raw = 1;
104 optional RawType type = 2 [default = RAW_ASCII];
105 optional string description = 3;
107 extensions 1000 to max;