-
Notifications
You must be signed in to change notification settings - Fork 0
/
ship.gv
76 lines (61 loc) · 1.64 KB
/
ship.gv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
digraph world {
//graph [layout = fdp ];
// systems
node[ shape = circle ]
Sps1
Sps2
Sps3
PoseMan
Velman
Clock
PowerMan
OptiSpeedoMan
LocalVelMan
WaypointMan
LidarMan
AimMan
CompassSys
// config
node[ shape = triangle]
Sps1Mode
Sps2Mode
Sps3Mode
Sps4Mode
// hardware
node[ shape = hexagon ]
Sps1Rec1SignalStrength // the signal strength
// displays
node[ shape = circle ]
CompassDisp
// state
node [shape = box];
Time
X Y Z
Sp1X Sp1Y Sp1Z
Sp2X Sp2Y Sp2Z
Sp3X Sp3Y Sp3Z
{ WX WY WZ }
{ ClosestPointDX ClosestPointDY ClosestPointDZ }
node [color = red];
Clock -> Time
{X Y Z Time} -> Velman
OptiSpeedoX -> Velman
Velman -> {VelX VelY VelZ}
// -> PoseMan
{VelX VelY VelZ} -> Autopiolt
// Steps
Sps1Mode -> Sps1 -> {Sp1X Sp1Y Sp1Z} -> PoseMan
Sps2Mode -> Sps2 -> {Sp2X Sp2Y Sp2Z} -> PoseMan
Sps3Mode -> Sps3 -> {Sp3X Sp3Y Sp3Z} -> PoseMan
PoseMan -> {X, Y, Z, RotW, RotX, RotY, RotZ} -> { Compass, Autopiolt }
{ X, Y, Z } -> WaypointMan -> { WX WY WZ } -> Autopiolt
Autopiolt -> {TargetVelX TargetVelY TargetVelZ} -> Transformer -> {TargetLocalVelX TargetLocacalVelY TargetLocalVelZ}
{RotW, RotX, RotY, RotZ} -> Transformer
OptiSpeedoMan -> { OptiSpeedoX OptiSpeedoY OptiSpeedoZ } -> LocalVelMan
LocalVelMan -> { LocalVelX LocalVelY LocalVelZ }
BatteryCharge -> PowerMan
{VelX VelY VelZ} -> Speed
{VelX VelY VelZ} -> LocalVelMan
BreakingDistance
LidarMan -> { ClosestPointDX ClosestPointDY ClosestPointDZ }
}