Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
iFrontSeat_config.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4import "goby/protobuf/option_extensions.proto";
5import "goby/moos/protobuf/goby_moos_app.proto";
6import "goby/middleware/protobuf/frontseat_config.proto";
7
8package goby.apps.moos.protobuf;
9
10message iFrontSeatConfig
11{
12 option (dccl.msg).unit_system = "si";
13
14 optional goby.moos.protobuf.GobyMOOSAppConfig common = 1;
15
16 required goby.middleware.frontseat.protobuf.Config frontseat_cfg = 2;
17
18 message MOOSVariables
19 {
20 optional string prefix = 1 [
21 default = "IFS_",
22 (goby.field).description =
23 "Prefix all MOOS variable names with this string"
24 ];
25
26 optional string raw_out = 10 [default = "RAW_OUT"];
27 optional string raw_in = 11 [default = "RAW_IN"];
28
29 optional string command_request = 12 [default = "COMMAND_REQUEST"];
30 optional string command_response = 13 [default = "COMMAND_RESPONSE"];
31
32 optional string data_from_frontseat = 14 [default = "DATA_IN"];
33 optional string data_to_frontseat = 15 [default = "DATA_OUT"];
34
35 optional string status = 16 [default = "STATUS"];
36
37 optional string node_status = 17 [default = "NODE_STATUS"];
38 }
39 optional MOOSVariables moos_var = 20;
40
41 message LegacyOperations
42 {
43 optional bool subscribe_desired = 1 [
44 default = true,
45 (goby.field).description =
46 "Convert the IvP Helm DESIRED_SPEED (m/s), DESIRED_HEADING "
47 "(degrees), DESIRED_DEPTH (meters), DESIRED_PITCH and "
48 "DESIRED_ROLL (degrees, unlike NAV_PITCH and NAV_ROLL, which "
49 "are radians), DESIRED_Z_RATE (m/s) and DESIRED_ALTITUDE "
50 "(meters) variables into a CommandRequest::desired_course "
51 "message."
52 ];
53
54 optional bool subscribe_ctd = 2 [
55 default = false,
56 (goby.field).description =
57 "Convert the individual CTD_CONDUCTIVITY, CTD_TEMPERATURE, "
58 "CTD_PRESSURE, CTD_SALINITY variables into a "
59 "FrontSeatInterfaceData::ctd_sample message."
60 ];
61
62 optional bool subscribe_acomms_raw = 3 [
63 default = false,
64 (goby.field).description =
65 "Convert the individual ACOMMS_RAW_INCOMING, "
66 "ACOMMS_RAW_OUTGOING variables into a FrontSeatInterfaceData "
67 "message with extensions BluefinExtraData::micro_modem_raw_out "
68 "and BluefinExtraData::micro_mdoem_raw_in set."
69 ];
70
71 optional bool pub_sub_bf_commands = 4 [
72 default = false,
73 (goby.field).description =
74 "Convert all of the following MOOS variables into "
75 "corresponding enumerations of the BluefinExtraCommands "
76 "extension of the CommandRequest message: BUOYANCY_CONTROL to "
77 "BluefinExtraCommands::BUOYANCY_ADJUST, TRIM_CONTROL to "
78 "BluefinExtraCommands::TRIM_ADJUST, FRONTSEAT_BHVOFF to "
79 "BluefinExtraCommands::CANCEL_CURRENT_BEHAVIOR, "
80 "FRONTSEAT_SILENT to BluefinExtraCommands::SILENT_MODE, "
81 "BACKSEAT_ABORT to BluefinExtraCommands::ABORT_MISSION. Also, "
82 "use the MOOS variable PENDING_SURFACE to trigger the "
83 "BluefinExtraCommands::GPS_REQUEST."
84 ];
85
86 optional bool publish_nav = 12 [
87 default = true,
88 (goby.field).description =
89 "Publish NAV_X, NAV_Y, NAV_Z, NAV_DEPTH and NAV_ALTITUDE "
90 "(meters); NAV_LAT, NAV_LONG, NAV_HEADING and "
91 "NAV_HEADING_OVER_GROUND (degrees); NAV_YAW, NAV_PITCH and "
92 "NAV_ROLL (radians, unlike DESIRED_PITCH and DESIRED_ROLL, "
93 "which are read as degrees); NAV_SPEED (m/s, speed through water if "
94 "known, otherwise over ground) and NAV_SPEED_OVER_GROUND "
95 "(m/s) from the NodeStatus message within "
96 "FrontSeatInterfaceData"
97 ];
98
99 optional bool publish_fs_bs_ready = 11 [
100 default = false,
101 (goby.field).description =
102 "Publish the MOOS variable FRONTSEAT_READY=1 when the "
103 "frontseat state is FRONTSEAT_ACCEPTING_COMMANDS, and "
104 "FRONTSEAT_READY=0 otherwise. Publish BACKSEAT_READY=1 when "
105 "the helm state is HELM_DRIVE, and BACKSEAT_READY=0 "
106 "otherwise."
107 ];
108 }
109
110 optional LegacyOperations legacy_cfg = 30
111 [(goby.field).description =
112 "Numerous options to automatically convert legacy variables "
113 "(e.g., from iHuxley) into the iFrontSeat messages. Generally new "
114 "projects will not use any of these options and thus this "
115 "configuration block can be omitted."];
116}