-
Notifications
You must be signed in to change notification settings - Fork 0
/
SystemDiagrams.drawio
242 lines (242 loc) · 22 KB
/
SystemDiagrams.drawio
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<mxfile host="65bd71144e" modified="2020-11-24T02:15:10.230Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.51.1 Chrome/83.0.4103.122 Electron/9.3.3 Safari/537.36" etag="GLuR6wYz-RvpUDd6vNFD" version="13.6.5">
<diagram id="efc0KUPmzQ4xqXyfZwq3" name="Page-1">
<mxGraphModel dx="1367" dy="1832" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" background="none" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" value="SystemArchitecture" parent="0"/>
<mxCell id="246" value="0 deg" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;" parent="1" vertex="1">
<mxGeometry x="7684" y="816" width="40" height="17" as="geometry"/>
</mxCell>
<mxCell id="247" value="180 deg" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;" parent="1" vertex="1">
<mxGeometry x="7681" y="1196" width="53" height="17" as="geometry"/>
</mxCell>
<mxCell id="257" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="59" target="53">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="258" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="59" target="27">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="59" value="Main" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="504" y="141" width="154" height="108" as="geometry">
<mxRectangle x="200" y="350" width="90" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="108" value="StartCell : (x, y, z)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="59" vertex="1">
<mxGeometry y="30" width="154" height="26" as="geometry"/>
</mxCell>
<mxCell id="109" value="EndCell : (x, y, z)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="59" vertex="1">
<mxGeometry y="56" width="154" height="26" as="geometry"/>
</mxCell>
<mxCell id="62" value="Main()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="59" vertex="1">
<mxGeometry y="82" width="154" height="26" as="geometry"/>
</mxCell>
<mxCell id="53" value="AirSimClient" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="624" y="419" width="171" height="82" as="geometry">
<mxRectangle x="200" y="350" width="90" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="56" value="CurrDroneCellPos[X, Y, Z]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="53" vertex="1">
<mxGeometry y="30" width="171" height="26" as="geometry"/>
</mxCell>
<mxCell id="67" value="MoveDroneAlongPath()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="53" vertex="1">
<mxGeometry y="56" width="171" height="26" as="geometry"/>
</mxCell>
<mxCell id="248" value="Utils" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="940" y="231" width="154" height="82" as="geometry">
<mxRectangle x="200" y="350" width="90" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="249" value="distanceCalc" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="248">
<mxGeometry y="30" width="154" height="26" as="geometry"/>
</mxCell>
<mxCell id="255" value="angleCalc" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="248">
<mxGeometry y="56" width="154" height="26" as="geometry"/>
</mxCell>
<mxCell id="275" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="15" target="27">
<mxGeometry relative="1" as="geometry">
<mxPoint x="347" y="379" as="sourcePoint"/>
<mxPoint x="366" y="513" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="279" value="PathPlanner" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="930" y="435" width="154" height="56" as="geometry">
<mxRectangle x="200" y="350" width="90" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="280" value="search()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="279">
<mxGeometry y="30" width="154" height="26" as="geometry"/>
</mxCell>
<mxCell id="15" value="BaseStation" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="120" y="366" width="180" height="324" as="geometry">
<mxRectangle x="200" y="350" width="90" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="23" value="Id : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="15" vertex="1">
<mxGeometry y="30" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="16" value="Position : (x, y, z)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="15" vertex="1">
<mxGeometry y="56" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="21" value="Size : (3, 3, 25)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="15" vertex="1">
<mxGeometry y="82" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="259" value="AntennaPosition : (x, y, z)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="15">
<mxGeometry y="108" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="273" value="QualityParams : { Bandwidth : float, Throughput : float, PacketLoss : float, Latency : float, Jitter : float }" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="15">
<mxGeometry y="134" width="180" height="112" as="geometry"/>
</mxCell>
<mxCell id="50" value="NetworkQuality : float" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="15" vertex="1">
<mxGeometry y="246" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="284" value="__init__()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="15">
<mxGeometry y="272" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="51" value="SimulateNetworkQuality()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="15" vertex="1">
<mxGeometry y="298" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="27" value="BaseStationManager" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="359" y="419" width="183" height="218" as="geometry">
<mxRectangle x="200" y="350" width="90" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="278" value="BSScenarioPositions : { 1 : [(x, y, z)+], 2 : [(x, y, z)+], 3 : [(x, y, z)+] }" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="27">
<mxGeometry y="30" width="183" height="84" as="geometry"/>
</mxCell>
<mxCell id="28" value="SelectedScenario : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="27" vertex="1">
<mxGeometry y="114" width="183" height="26" as="geometry"/>
</mxCell>
<mxCell id="282" value="__init__(selectedScenario)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="27">
<mxGeometry y="140" width="183" height="26" as="geometry"/>
</mxCell>
<mxCell id="34" value="InitBaseStations()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="27" vertex="1">
<mxGeometry y="166" width="183" height="26" as="geometry"/>
</mxCell>
<mxCell id="52" value="SimulateBaseStations()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="27" vertex="1">
<mxGeometry y="192" width="183" height="26" as="geometry"/>
</mxCell>
<mxCell id="112" value="Area" parent="0"/>
<mxCell id="113" value="" style="whiteSpace=wrap;html=1;fillColor=none;movable=0;resizable=0;rotatable=0;deletable=0;editable=0;connectable=0;aspect=fixed;" parent="112" vertex="1">
<mxGeometry x="2580" y="-1040" width="4000" height="4000" as="geometry"/>
</mxCell>
<mxCell id="124" value="" style="whiteSpace=wrap;html=1;aspect=fixed;fillColor=#008a00;strokeColor=#005700;fontColor=#ffffff;" parent="112" vertex="1">
<mxGeometry x="2804" y="2784" width="10" height="10" as="geometry"/>
</mxCell>
<mxCell id="125" value="" style="whiteSpace=wrap;html=1;aspect=fixed;fillColor=#e51400;strokeColor=#B20000;fontColor=#ffffff;" parent="112" vertex="1">
<mxGeometry x="5829" y="108" width="10" height="10" as="geometry"/>
</mxCell>
<mxCell id="168" value="" style="whiteSpace=wrap;html=1;fillColor=#647687;strokeColor=#314354;fontColor=#ffffff;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;rotation=90;" parent="112" vertex="1">
<mxGeometry x="8010" y="870" width="20" height="600" as="geometry"/>
</mxCell>
<mxCell id="169" value="" style="whiteSpace=wrap;html=1;fillColor=#647687;strokeColor=#314354;fontColor=#ffffff;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;rotation=90;" parent="112" vertex="1">
<mxGeometry x="7380" y="870" width="20" height="600" as="geometry"/>
</mxCell>
<mxCell id="170" value="" style="group" parent="112" vertex="1" connectable="0">
<mxGeometry x="2810" y="1220" width="1230" height="1230" as="geometry"/>
</mxCell>
<mxCell id="116" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=none;" parent="170" vertex="1">
<mxGeometry width="1230" height="1230" as="geometry"/>
</mxCell>
<mxCell id="117" value="" style="whiteSpace=wrap;html=1;aspect=fixed;fillColor=none;" parent="170" vertex="1">
<mxGeometry x="600.0042857142857" y="600.0042857142857" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="167" value="" style="whiteSpace=wrap;html=1;fillColor=#6d8764;strokeColor=#3A5431;fontColor=#ffffff;movable=0;resizable=0;rotatable=0;deletable=0;editable=0;connectable=0;" parent="112" vertex="1">
<mxGeometry x="7690" y="910" width="30" height="250" as="geometry"/>
</mxCell>
<mxCell id="220" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="8150" y="1160" as="sourcePoint"/>
<mxPoint x="7720" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="221" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="8320" y="820" as="sourcePoint"/>
<mxPoint x="7720" y="920" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="232" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7740" y="1160" as="sourcePoint"/>
<mxPoint x="7720" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="233" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7800" y="1160" as="sourcePoint"/>
<mxPoint x="7720" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="234" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7830" y="1160" as="sourcePoint"/>
<mxPoint x="7720" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="235" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7910" y="1160" as="sourcePoint"/>
<mxPoint x="7720" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="236" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7770" y="1160" as="sourcePoint"/>
<mxPoint x="7720" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="237" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="920" as="sourcePoint"/>
<mxPoint x="7870" y="800" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="238" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="920" as="sourcePoint"/>
<mxPoint x="7830" y="790" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="239" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="910" as="sourcePoint"/>
<mxPoint x="7800" y="790" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="240" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="910" as="sourcePoint"/>
<mxPoint x="7780" y="780" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="241" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="910" as="sourcePoint"/>
<mxPoint x="7760" y="790" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="242" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="910" as="sourcePoint"/>
<mxPoint x="7740" y="800" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="243" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="910" as="sourcePoint"/>
<mxPoint x="7720" y="840" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="244" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" parent="112" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="7720" y="920" as="sourcePoint"/>
<mxPoint x="7960" y="800" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="245" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fillColor=#2a2a2a;" parent="112" vertex="1">
<mxGeometry x="8330" y="940" width="30" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>