VesselInstrumentsGeneric.idl
1/** @file VesselInstrumentsGeneric.idl */
2
3/** Types used in Ratatosk
4@ingroup Types
5*/
6module ratatosk
7{
8 module types
9 {
10 struct TypeTest
11 {
12 char charVal;
13 octet uint8Val;
14 short int16Val;
15 unsigned short uint16Val;
16 long int32Val;
17 unsigned long uint32Val;
18 long long int64Val;
19 unsigned long long uint64Val;
20 float floatVal;
21 double doubleVal;
22 boolean boolVal;
23 string stringVal;
24 };
25#pragma keylist TypeTest
26
27 struct ArrayTest
28 {
29 long vals[3];
30 TypeTest test;
31 };
32
33 /// Char
34 struct Int8Val
35 {
36 char val;
37 };
38#pragma keylist Int8Val
39
40 /// Octadecimal
41 struct Uint8Val
42 {
43 octet val;
44 };
45#pragma keylist Uint8Val
46
47 /// Short
48 struct Int16Val
49 {
50 short val;
51 };
52#pragma keylist Int16Val
53
54 /// Unsigned short
55 struct Uint16Val
56 {
57 unsigned short val;
58 };
59#pragma keylist Uint16Val
60
61 /// Long
62 struct Int32Val
63 {
64 long val;
65 };
66#pragma keylist Int32Val
67
68 /// Unsigned long
69 struct Uint32Val
70 {
71 unsigned long val;
72 };
73#pragma keylist Uint32Val
74
75 /// Long long
76 struct Int64Val
77 {
78 long long val;
79 };
80#pragma keylist Int64Val
81
82 /// Unsigned long long
83 struct Uint64Val
84 {
85 unsigned long long val;
86 };
87#pragma keylist Uint64Val
88
89 /// Character
90 struct CharVal
91 {
92 char val;
93 };
94#pragma keylist CharVal
95
96 /// boolean
97 struct BoolVal
98 {
99 boolean val;
100 };
101#pragma keylist BoolVal
102
103 /// Single presicion floating point
104 struct FloatVal
105 {
106 float val;
107 };
108#pragma keylist FloatVal
109
110 /// Short
111 struct ShortVal
112 {
113 short val;
114 };
115#pragma keylist ShortVal
116
117 /// Double presicion floating point
119 {
120 double val;
121 };
122#pragma keylist DoubleVal
123
124 /// String
126 {
127 string val;
128 };
129#pragma keylist StringVal
130
131 /// A 2D-vector with double precision elements.
132 struct Double2
133 {
134 double x;
135 double y;
136 };
137#pragma keylist Double2
138
139 /// A 3D-vector with double precision elements.
140 struct Double3
141 {
142 double x;
143 double y;
144 double z;
145 };
146#pragma keylist Double3
147
148 /// A 4D-vector with double precision elements.
149 struct Double4
150 {
151 double x;
152 double y;
153 double z;
154 double w;
155 };
156#pragma keylist Double4
157
158 /// A 3D-vector with single precision elements
159 struct Float3
160 {
161 float x;
162 float y;
163 float z;
164 };
165#pragma keylist Float3
166
167 /// A vector of characters.
169 {
170 sequence<char> vals;
171 };
172#pragma keylist VectorChar
173
174 /// An array of single precision floating point numbers, and a short array identifier.
176 {
177 short arrayid; ///< Identifier
178 sequence<float> vals; ///< Vector of single precision floating point numbers
179 };
180#pragma keylist ArrayFloat arrayid
181
182 /// An array of double precision floating point numbers, and a short array identifier.
184 {
185 short arrayid; ///< Identifier
186 sequence<double> vals; ///< Vector of double precision floating point numbers
187 };
188#pragma keylist ArrayDouble arrayid
189
190 /// A point in 2D euclidean space
191 struct Point2D
192 {
193 float x; ///< X-coordinate
194 float y; ///< Y-coordinate
195 };
196#pragma keylist Point2D
197
198 /// A line in 2D eulidean space
199 struct Line2D
200 {
201 sequence<float> x; ///< A vector of X-coordinates.
202 sequence<float> y; ///< A vector of Y-coordinates.
203 };
204#pragma keylist Line2D
205
206 /// 2D-vector with latitude and longitude.
208 {
209 double lat; ///< Latitude [degreeN]
210 double lon; ///< Longitude [degreeE]
211 };
212#pragma keylist PositionGlobal2D
213
214 /// 2D-vector with coordinates x and y.
216 {
217 double x; ///< X-coordinate [degreeN]
218 double y; ///< Y-coordinate [degreeE]
219 };
220#pragma keylist PositionLocal2D
221
222 /// GPS information of an entity.
223 struct PosInfo
224 {
225 double lat; ///< Latitude [degreeN]
226 double lon; ///< Longitude [degreeE]
227 double sog; ///< Speed over ground [m/s]
228 double cog; ///< Course over ground [m/s]
229 };
230#pragma keylist PosInfo
231
232 /// Gyro information of an entity.
233 struct GyroInfo
234 {
235 double hdt; ///< True heading of entity [rad]
236 double rot; ///< Rate of turn [rad/s]
237 };
238#pragma keylist GyroInfo
239
240 /// Wind information.
241 struct WindInfo
242 {
243 double trueSpeed; ///< True wind speed [m/s]
244 double trueDir; ///< True wind direction [rad]
245 double relSpeed; ///< Wind speed relative to entity [m/s]
246 double relDir; ///< Wind direction relative to entity [rad]
247 double trueWindRelDir; ///< True wind direction relative to entity heading [rad]
248 };
249#pragma keylist WindInfo
250
251 /// Depth information, typically echo sounder.
253 {
254 double depth; ///< Depth [m]
255 double depthBelowTransducer; ///< Depth below trancducer [m]
256 };
257#pragma keylist DepthInfo
258
259 /// Log information from vessel speed log.
260 struct LogInfo
261 {
262 double speed; ///< Speed [m/s]
263 };
264#pragma keylist LogInfo
265
266 /// Winch information.
268 {
269 double extractedWire; ///< Length of extracted wire [m]
270 double tension; ///< Tension of wire [N]
271 double speed; ///< Extraction speed of wire [m/s]
272 double rpm; ///< Rpm of spool [rpm]
273 double oilPressure; ///< Oil pressure [psi]
274 };
275#pragma keylist WinchInfo
276
277 /// Information about the flowrate of oil.
279 {
280 double rate; ///< [l/s]
281 double rate1; ///< [l/s]
282 double rate2; ///< [l/s]
283 };
284#pragma keylist FlowRateInfo
285
286 ///
288 {
289 double total; ///< [l]
290 double total1; ///< [l]
291 double total2; ///< [l]
292 };
293#pragma keylist FlowTotalInfo
294
295 /// Water current information at depths.
297 {
298 double speed; ///< Magnitude of the current [m/s]
299 double direction; ///< The direction at which the water is flowing [rad]
300 double depth; ///< Depth of reading [m]
301 };
302#pragma keylist CurrentAtDepth
303
304 /// A current profile containing one or more currents
306 {
307 sequence<CurrentAtDepth> currents; ///< Vector of CurrentAtDepth structs.
308 };
309#pragma keylist CurrentProfile
310
311 /// Common vessel info, machinery signals
313 {
314 double auxCons; ///< Oil consumption auxiliary engines [kg/h]
315 double auxElProd; ///< Electricity production auxiliary motor [kW]
316 double auxLoad_kW; ///< Load on auxiliary motor [kW]
317 double meCons; ///< Oil consumption main motor [kg/h]
318 double meLoad_kW; ///< Load on main motor [kW]
319 double meRpm; ///< Rotational speed main motor [rpm]
320 double sumCons; ///< Total oil consumption [kg/h]
321 double sumElProd; ///< Total electricity production [kW]
322 double sumLoad_kW; ///< Total load [kW]
323 double ptiPower; ///< Power take in [kW]
324 double ptoPower; ///< Power take off [kW]
325 double sfc; ///< Total oil consumption divided by total electrical energy [g/kWh]
326 };
327
328 /// Common vessel info, propulsion signals
330 {
331 double efficiency; ///< Propulsion efficiency [%]
332 double pitchPd; ///< Propulsion pitch [-]
333 double pitchPercent; ///< Propulsion pitch percent [%]
334 double rpm; ///< Rotational speed of propeller [rpm]
335 double power; ///< Propulsion power [kW]
336 double thrust; ///< Propulsion thrust [kN]
337 double torque; ///< Propulsion torque [kN.m]
338 double speed; ///< Speed through water [m/s]
339 double powerToPropellerJet; ///< Propulsion power to jet propeller [kW]
340 };
341
342 /// Common vessel information
344 {
345 Machinery machinery;
346 Propulsion propulsion;
347 double nfc;
348 };
349#pragma keylist CommonVesselInfo
350 };
351};
Definition: DecisionSupport.idl:1
An array of double precision floating point numbers, and a short array identifier.
Definition: VesselInstrumentsGeneric.idl:184
short arrayid
Identifier.
Definition: VesselInstrumentsGeneric.idl:185
sequence< double > vals
Vector of double precision floating point numbers.
Definition: VesselInstrumentsGeneric.idl:186
An array of single precision floating point numbers, and a short array identifier.
Definition: VesselInstrumentsGeneric.idl:176
sequence< float > vals
Vector of single precision floating point numbers.
Definition: VesselInstrumentsGeneric.idl:178
short arrayid
Identifier.
Definition: VesselInstrumentsGeneric.idl:177
Definition: VesselInstrumentsGeneric.idl:28
boolean
Definition: VesselInstrumentsGeneric.idl:98
Character.
Definition: VesselInstrumentsGeneric.idl:91
Common vessel information.
Definition: VesselInstrumentsGeneric.idl:344
Water current information at depths.
Definition: VesselInstrumentsGeneric.idl:297
double speed
Magnitude of the current [m/s].
Definition: VesselInstrumentsGeneric.idl:298
double depth
Depth of reading [m].
Definition: VesselInstrumentsGeneric.idl:300
double direction
The direction at which the water is flowing [rad].
Definition: VesselInstrumentsGeneric.idl:299
A current profile containing one or more currents.
Definition: VesselInstrumentsGeneric.idl:306
sequence< CurrentAtDepth > currents
Vector of CurrentAtDepth structs.
Definition: VesselInstrumentsGeneric.idl:307
Depth information, typically echo sounder.
Definition: VesselInstrumentsGeneric.idl:253
double depthBelowTransducer
Depth below trancducer [m].
Definition: VesselInstrumentsGeneric.idl:255
double depth
Depth [m].
Definition: VesselInstrumentsGeneric.idl:254
A 2D-vector with double precision elements.
Definition: VesselInstrumentsGeneric.idl:133
A 3D-vector with double precision elements.
Definition: VesselInstrumentsGeneric.idl:141
A 4D-vector with double precision elements.
Definition: VesselInstrumentsGeneric.idl:150
Double presicion floating point.
Definition: VesselInstrumentsGeneric.idl:119
A 3D-vector with single precision elements.
Definition: VesselInstrumentsGeneric.idl:160
Single presicion floating point.
Definition: VesselInstrumentsGeneric.idl:105
Information about the flowrate of oil.
Definition: VesselInstrumentsGeneric.idl:279
double rate1
[l/s]
Definition: VesselInstrumentsGeneric.idl:281
double rate2
[l/s]
Definition: VesselInstrumentsGeneric.idl:282
double rate
[l/s]
Definition: VesselInstrumentsGeneric.idl:280
Definition: VesselInstrumentsGeneric.idl:288
double total
[l]
Definition: VesselInstrumentsGeneric.idl:289
double total1
[l]
Definition: VesselInstrumentsGeneric.idl:290
double total2
[l]
Definition: VesselInstrumentsGeneric.idl:291
Gyro information of an entity.
Definition: VesselInstrumentsGeneric.idl:234
double rot
Rate of turn [rad/s].
Definition: VesselInstrumentsGeneric.idl:236
double hdt
True heading of entity [rad].
Definition: VesselInstrumentsGeneric.idl:235
Short.
Definition: VesselInstrumentsGeneric.idl:49
Long.
Definition: VesselInstrumentsGeneric.idl:63
Long long.
Definition: VesselInstrumentsGeneric.idl:77
Char.
Definition: VesselInstrumentsGeneric.idl:35
A line in 2D eulidean space.
Definition: VesselInstrumentsGeneric.idl:200
sequence< float > x
A vector of X-coordinates.
Definition: VesselInstrumentsGeneric.idl:201
sequence< float > y
A vector of Y-coordinates.
Definition: VesselInstrumentsGeneric.idl:202
Log information from vessel speed log.
Definition: VesselInstrumentsGeneric.idl:261
double speed
Speed [m/s].
Definition: VesselInstrumentsGeneric.idl:262
Common vessel info, machinery signals.
Definition: VesselInstrumentsGeneric.idl:313
double sumCons
Total oil consumption [kg/h].
Definition: VesselInstrumentsGeneric.idl:320
double meCons
Oil consumption main motor [kg/h].
Definition: VesselInstrumentsGeneric.idl:317
double sfc
Total oil consumption divided by total electrical energy [g/kWh].
Definition: VesselInstrumentsGeneric.idl:325
double meLoad_kW
Load on main motor [kW].
Definition: VesselInstrumentsGeneric.idl:318
double sumLoad_kW
Total load [kW].
Definition: VesselInstrumentsGeneric.idl:322
double meRpm
Rotational speed main motor [rpm].
Definition: VesselInstrumentsGeneric.idl:319
double ptoPower
Power take off [kW].
Definition: VesselInstrumentsGeneric.idl:324
double auxLoad_kW
Load on auxiliary motor [kW].
Definition: VesselInstrumentsGeneric.idl:316
double ptiPower
Power take in [kW].
Definition: VesselInstrumentsGeneric.idl:323
double sumElProd
Total electricity production [kW].
Definition: VesselInstrumentsGeneric.idl:321
double auxElProd
Electricity production auxiliary motor [kW].
Definition: VesselInstrumentsGeneric.idl:315
double auxCons
Oil consumption auxiliary engines [kg/h].
Definition: VesselInstrumentsGeneric.idl:314
A point in 2D euclidean space.
Definition: VesselInstrumentsGeneric.idl:192
float x
X-coordinate.
Definition: VesselInstrumentsGeneric.idl:193
float y
Y-coordinate.
Definition: VesselInstrumentsGeneric.idl:194
GPS information of an entity.
Definition: VesselInstrumentsGeneric.idl:224
double lat
Latitude [degreeN].
Definition: VesselInstrumentsGeneric.idl:225
double sog
Speed over ground [m/s].
Definition: VesselInstrumentsGeneric.idl:227
double lon
Longitude [degreeE].
Definition: VesselInstrumentsGeneric.idl:226
double cog
Course over ground [m/s].
Definition: VesselInstrumentsGeneric.idl:228
2D-vector with latitude and longitude.
Definition: VesselInstrumentsGeneric.idl:208
double lon
Longitude [degreeE].
Definition: VesselInstrumentsGeneric.idl:210
double lat
Latitude [degreeN].
Definition: VesselInstrumentsGeneric.idl:209
2D-vector with coordinates x and y.
Definition: VesselInstrumentsGeneric.idl:216
double y
Y-coordinate [degreeE].
Definition: VesselInstrumentsGeneric.idl:218
double x
X-coordinate [degreeN].
Definition: VesselInstrumentsGeneric.idl:217
Common vessel info, propulsion signals.
Definition: VesselInstrumentsGeneric.idl:330
double rpm
Rotational speed of propeller [rpm].
Definition: VesselInstrumentsGeneric.idl:334
double pitchPercent
Propulsion pitch percent [%].
Definition: VesselInstrumentsGeneric.idl:333
double pitchPd
Propulsion pitch [-].
Definition: VesselInstrumentsGeneric.idl:332
double torque
Propulsion torque [kN.m].
Definition: VesselInstrumentsGeneric.idl:337
double power
Propulsion power [kW].
Definition: VesselInstrumentsGeneric.idl:335
double thrust
Propulsion thrust [kN].
Definition: VesselInstrumentsGeneric.idl:336
double powerToPropellerJet
Propulsion power to jet propeller [kW].
Definition: VesselInstrumentsGeneric.idl:339
double speed
Speed through water [m/s].
Definition: VesselInstrumentsGeneric.idl:338
double efficiency
Propulsion efficiency [%].
Definition: VesselInstrumentsGeneric.idl:331
Short.
Definition: VesselInstrumentsGeneric.idl:112
String.
Definition: VesselInstrumentsGeneric.idl:126
Definition: VesselInstrumentsGeneric.idl:11
Unsigned short.
Definition: VesselInstrumentsGeneric.idl:56
Unsigned long.
Definition: VesselInstrumentsGeneric.idl:70
Unsigned long long.
Definition: VesselInstrumentsGeneric.idl:84
Octadecimal.
Definition: VesselInstrumentsGeneric.idl:42
A vector of characters.
Definition: VesselInstrumentsGeneric.idl:169
Winch information.
Definition: VesselInstrumentsGeneric.idl:268
double oilPressure
Oil pressure [psi].
Definition: VesselInstrumentsGeneric.idl:273
double tension
Tension of wire [N].
Definition: VesselInstrumentsGeneric.idl:270
double rpm
Rpm of spool [rpm].
Definition: VesselInstrumentsGeneric.idl:272
double extractedWire
Length of extracted wire [m].
Definition: VesselInstrumentsGeneric.idl:269
double speed
Extraction speed of wire [m/s].
Definition: VesselInstrumentsGeneric.idl:271
Wind information.
Definition: VesselInstrumentsGeneric.idl:242
double trueWindRelDir
True wind direction relative to entity heading [rad].
Definition: VesselInstrumentsGeneric.idl:247
double trueDir
True wind direction [rad].
Definition: VesselInstrumentsGeneric.idl:244
double trueSpeed
True wind speed [m/s].
Definition: VesselInstrumentsGeneric.idl:243
double relSpeed
Wind speed relative to entity [m/s].
Definition: VesselInstrumentsGeneric.idl:245
double relDir
Wind direction relative to entity [rad].
Definition: VesselInstrumentsGeneric.idl:246