Marine systems simulation
myOutputStruct.h
1#ifndef MyOutputStruct_H
2#define MyOutputStruct_H
3#pragma pack(1)
4
8
9typedef struct myOutputStruct
10{
11
12 double winch[4];
13 double mainengine[3];
14 double thruster[3];
15 double display[3];
16 double time;
17
18
19
20//winch[0]: Winch1 velocity
21//winch[1]: Winch2 velocity
22//winch[3]: Winch1 force
23//winch[4]: Winch2 force
24
25//mainengine[0]: left engine velocity
26//mainengine[1]: right engine velocity
27//mainengine[2]: rudder angle
28
29//thruster[0]: Thruster 1 velocity
30//thruster[1]: Thruster 2 velocity
31//thruster[2]: Thruster 3 velocity
32
33//display[0]: SOG display
34//display[1]: ROT display
35//display[2]: COG display
36
37
39#endif
Definition: myOutputStruct.h:5