-
Notifications
You must be signed in to change notification settings - Fork 0
/
x-02-fant.xml
233 lines (198 loc) · 9.52 KB
/
x-02-fant.xml
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
<!--
X-02
-->
<airplane mass="24000">
<!-- Approach configuration -->
<approach speed="150" aoa="7">
<control-setting axis="/controls/engines/engine[0]/throttle" value="0.4"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="0.4"/>
<control-setting axis="/controls/flight/flaps" value="0.4"/>
<control-setting axis="/controls/gear/gear-down" value="1"/>
<control-setting axis="/controls/flight/speedbrake" value="0"/>
<control-setting axis="/controls/flight/slats" value="1"/>
</approach>
<!-- Cruise configuration -->
<cruise speed="1200" alt="45000">
<control-setting axis="/controls/engines/engine[0]/throttle" value="1"/>
<control-setting axis="/controls/engines/engine[1]/throttle" value="1"/>
<control-setting axis="/controls/flight/flaps" value="0.0"/>
<control-setting axis="/controls/gear/gear-down" value="0"/>
<control-setting axis="/controls/flight/speedbrake" value="0"/>
<control-setting axis="/controls/flight/slats" value="0"/>
</cruise>
<!-- pilot eyepoint -->
<cockpit x="-3.426" y="0.0" z="0.844"/>
<!-- forward fuselage -->
<fuselage ax="0" ay="0" az="0"
bx="-10.0" by="0" bz="0.5"
width="1.7" taper= "0.5" midpoint= "0.5" />
<!-- rear fuselage -->
<fuselage ax="-6" ay="0" az="0"
bx="-14.7" by="0" bz="0.5"
cx="3" cz="3"
width="0.75" taper= "0.4" midpoint= "0.3" />
<wing x="-9.0" y="1.723" z="0.262"
taper="0.314"
incidence="0.0"
twist="-2.0"
length="4.486"
chord="4.17"
sweep="41"
dihedral="-2">
<stall aoa="20" width="4" peak="1.4"/>
<flap0 start="0.0" end="0.01" lift="0" drag="0"/>
<!-- Flaps -->
<flap1 start="0.47" end="0.813" lift="1.5" drag="1.2"/>
<!-- Ailerons -->
<slat aoa="10" start="0.0" end="0.813" lift="0" drag="0"/>
<!-- Slats -->
<control-input axis="/controls/flight/elevator" control="FLAP0"/>
<control-input axis="/controls/flight/aileron" control="FLAP1" split="true"/>
<control-input axis="/controls/flight/aileron-trim" control="FLAP1" split="true"/>
<control-input axis="/controls/flight/slats" control="SLAT"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
<control-output control="SLAT" prop="/surface-positions/slat-pos-norm"/>
<control-output control="FLAP1" prop="/surface-positions/left-aileron-pos-norm" side="left" min="-1" max="1"/>
<control-output control="FLAP1" prop="/surface-positions/right-aileron-pos-norm" side="right" min="-1" max="1"/>
<control-speed control="FLAP0" transition-time="0.5"/>
<control-speed control="FLAP1" transition-time="0.5"/>
<control-speed control="SLAT" transition-time="1.1"/>
</wing>
<hstab x="-13.994" y="1.88" z="0.094"
length="2.5"
chord="2.452"
sweep="35"
taper="0.523"
dihedral="0"
camber="0.00"
idrag="0.1"
effectiveness="1">
<!-- <stall aoa="35" width="13" peak="1.5"/> -->
<stall aoa="35" width="8" peak="1.5"/>
<flap0 start="0.01" end="1" lift="1.8" drag="1.4"/>
<flap1 start="0" end="0.01" lift="1.8" drag="1.4"/>
<!-- Elevons -->
<control-input axis="/controls/flight/elevator" control="FLAP0" src0="-1" src1="1" dst0="-0.5" dst1="0.5"/>
<control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
<control-input axis="/controls/flight/aileron" control="FLAP0" split="true" src0="-1" src1="1" dst0="-0.5" dst1="0.5"/>
<control-input axis="/controls/flight/aileron" control="FLAP1" split="true" src0="-1" src1="1" dst0="-0.5" dst1="0.5"/>
<control-output control="FLAP0" prop="/surface-positions/left-elevon-pos-norm" side="left" min="-1" max="1"/>
<control-output control="FLAP0" prop="/surface-positions/right-elevon-pos-norm" side="right" min="-1" max="1"/>
<control-output control="FLAP0" prop="/surface-positions/elevon-pos-norm" min="-1" max="1"/>
<control-speed control="FLAP0" transition-time="0.5"/>
<control-speed control="FLAP1" transition-time="0.5"/>
</hstab>
<vstab x="-13.115" y="1.757" z="0.223"
taper="0.347"
length="3.2"
chord="3.137"
sweep="30" >
<stall aoa="27" width="10" peak="1.5"/>
<flap0 start="0" end=".8" lift="1.5" drag="1.3"/>
<control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
<control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>
<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>
<control-speed control="FLAP0" transition-time="0.5"/>
</vstab>
<vstab x="-13.115" y="-1.757" z="0.223"
taper="0.347"
length="3.2"
chord="3.137"
sweep="30" >
<stall aoa="27" width="10" peak="1.5"/>
<flap0 start="0" end=".8" lift="1.5" drag="1.3"/>
<control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
<control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>
<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>
<control-speed control="FLAP0" transition-time="0.5"/>
</vstab>
<!-- Central lifting body -->
<mstab x="-7.946" y="0.00" z="0.00"
length="1.728"
chord="10.389"
sweep="75"
taper="0.52"
dihedral="0"
camber="0.0"
incidence="0.0">
<stall aoa="58" width="3" peak="1.3"/>
<flap0 start="0.0" end="1" lift="1.0" drag="250"/> <!-- Airbrake, width doubled to account for dorsal & ventral surface -->
<control-input axis="/controls/flight/speedbrake" control="FLAP0"/>
<control-output control="FLAP0" prop="/surface-positions/speedbrake-pos-norm"/>
<control-speed control="FLAP0" transition-time="2"/>
</mstab>
<!-- Engines -->
<jet x="-12.8" y="0.94" z="-0.18"
mass="2150"
thrust="15000"
n1-idle="55" n1-max="100" n2-idle="55" n2-max="105"
exhaust-speed="1550"
rotation="720">
<actionpt x="-14.745" y="0.94" z="-0.176"/>
<control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
</jet>
<jet x="-12.8" y="-0.94" z="-0.18"
mass="2150"
thrust="15000"
n1-idle="55" n1-max="100" n2-idle="55" n2-max="105"
exhaust-speed="1550"
rotation="720">
<actionpt x="-14.745" y="-0.94" z="-0.176"/>
<control-input axis="/controls/engines/engine[1]/throttle" control="THROTTLE"/>
</jet>
<!-- Landing Gear -->
<!-- nose -->
<gear x="-6.309" y="0" z="-1.728"
retract-time="3"
compression="0.3" upx="0" upy="0" upz="0.3">
<control-input axis="/controls/flight/rudder" control="STEER" square="false"/>
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
<control-speed control="EXTEND" transition-time="3"/>
</gear>
<!-- left main -->
<gear x="-9.847" y="1.646" z="-1.720"
retract-time="4"
compression="0.5" spring="0.8" damp="3" upx="-0.02" upy="-0.01" upz="0.19">
<control-input axis="/controls/gear/brake-left" control="BRAKE"/>
<control-input axis="/controls/gear/brake-parking" control="BRAKE" />
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
<control-speed control="EXTEND" transition-time="4"/>
<control-speed control="BRAKE" transition-time="0"/>
</gear>
<!-- right main -->
<gear x="-9.847" y="-1.646" z="-1.720"
retract-time="4"
compression="0.5" spring="0.8" damp="3" upx="-0.02" upy="0.01" upz="0.19">
<control-input axis="/controls/gear/brake-right" control="BRAKE"/>
<control-input axis="/controls/gear/brake-parking" control="BRAKE" />
<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
<control-output control="EXTEND" prop="/gear/gear[2]/position-norm"/>
<control-speed control="EXTEND" transition-time="4"/>
<control-speed control="BRAKE" transition-time="0"/>
</gear>
<!--
Fuel: Total 7384/3200 lbs/kg
Aircraft probably has 6 internal cells, 4 fuselage + 2 wing. Distribution is unknown,
so internal tanks are modeled as two tanks for fore/aft balance, and all tanks given
same capacity until more details are available.
-->
<tank x="-7.5" y="0" z="-0.25" jet="true" capacity="1846"/> <!-- fore tank 1 -->
<tank x="-9.5" y="0" z="-0.25" jet="true" capacity="1846"/> <!-- aft tank 2 -->
<tank x="-10.2" y="2.7" z="0.26" jet="true" capacity="1846"/> <!-- left wing tank 3 -->
<tank x="-10.2" y="-2.7" z="0.26" jet="true" capacity="1846"/><!-- right wing tank 4 -->
<hook x="-14.00" y="0.0" z="-0.400" length="1.5" down-angle="70" up-angle="-5">
<control-input axis="/controls/gear/tailhook" control="HEXTEND"/>
<control-speed control="HEXTEND" transition-time="3"/>
</hook>
<launchbar x="10.36" y="0.0" z="-2.096" length="1.463">
<control-input axis="/controls/gear/launchbar" control="LEXTEND"/>
<control-speed control="LEXTEND" transition-time="1"/>
</launchbar>
<!-- Guesswork: -->
<ballast x="-1.888" y="0" z="0.174" mass="500"/> <!-- Radar -->
<ballast x="-4.5" y="0" z="0.44" mass="1500"/> <!-- Cockpit and avionics -->
<ballast x="-4.25" y="0" z="0.55" mass="200"/> <!-- Pilot -->
<ballast x="-6" y="0" z="0.0" mass="850"/> <!-- Trim ballast -->
</airplane>