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