-
Notifications
You must be signed in to change notification settings - Fork 470
/
Copy pathah1s_flight_test.xml
676 lines (611 loc) · 26.4 KB
/
ah1s_flight_test.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sf.net/JSBSimScript.xsl"?>
<runscript
name="AH-1S flight test"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd">
<description>
Runs some performance tests on the model. The tests are selected via
simulation/test-variant:
0) syntax check - nothing happens
1) max speed at 5000ft-sl with afcs (default)
2) 'trimmed' flight, using precalculated trim values from steady flight data
3) auto-rotation, descent with windmilling rotor
4) maximum hover height
For FlightGear visualization, see the notes in 'ah1s/reset00.xml'
</description>
<use aircraft="ah1s" initialize="reset00"/>
<run start="0.0" end="2800.1" dt="0.0075">
<property value="1"> simulation/test-variant </property>
<property value="0"> simulation/notify-time-trigger </property>
<property value="240.0"> simulation/notify-time-trigger-ar </property>
<property value="3.14159"> ap/afcs/psi-trim-rad </property>
<property value="0.0"> propulsion/tank[0]/contents-lbs </property>
<property value="0.0"> propulsion/tank[1]/contents-lbs </property>
<!-- vehicle setup: ensure defaults -->
<property value="1.0"> aero/setup/downwash-enable </property>
<property value="0.05"> aero/setup/Nr_limiter </property>
<!-- rotor control: disable features which are only useful for interactive use -->
<property value="0.0"> fcs/adj/collective-profile </property>
<property value="1.0"> fcs/adj/center-sensitivity </property>
<!--
when x-rpm-dict is used
<property value="0"> fcs/rpm-governor-active-norm </property>
-->
<!-- ===========
Actions
=========== -->
<event name="Engage RPM governor">
<condition>
simulation/test-variant gt 0
simulation/sim-time-sec ge 1
</condition>
<set name="fcs/collective-cmd-norm" value="0.0"/>
<set name="fcs/rpm-governor-active-norm" value="1.0" action="FG_RAMP" tc="5.0"/>
<notify>
<property> fcs/collective-cmd-norm </property>
<property> ap/collective-cmd </property>
<property> position/h-agl-ft </property>
<property> propulsion/engine/rotor-rpm </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> position/distance-from-start-mag-mt </property>
</notify>
</event>
<!--
Example for using 'x-rpm-dict', make sure to disable the RPM governor above.
-->
<!--
<event name="Set RPM">
<condition> simulation/sim-time-sec ge 1 </condition>
<set name="fcs/collective-cmd-norm" value="0.0"/>
<set name="propulsion/engine[0]/x-rpm-dict" value="6600.0" action="FG_RAMP" tc="12.0"/>
<set name="propulsion/engine[1]/x-rpm-dict" value="6600.0" action="FG_RAMP" tc="12.0"/>
<notify/>
</event>
-->
<event name="Raise collective">
<condition>
simulation/test-variant gt 0
simulation/sim-time-sec ge 10
</condition>
<set name="fcs/collective-cmd-norm" value="0.35" action="FG_RAMP" tc="3.0"/>
<set name="fcs/rudder-cmd-norm" value="0.35" action="FG_RAMP" tc="3.0"/>
<notify>
<property> propulsion/engine/rotor-rpm </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> position/distance-from-start-mag-mt </property>
</notify>
</event>
<event name="Engage yaw afcs">
<condition>
simulation/test-variant gt 0
simulation/sim-time-sec ge 10
</condition>
<set name="ap/afcs/yaw-channel-active-norm" value="1.0" action="FG_RAMP" tc="3.0"/>
<notify/>
</event>
<event name="Lift off">
<condition>
simulation/test-variant gt 0
simulation/sim-time-sec ge 15
</condition>
<set name="fcs/collective-cmd-norm" value="0.615" action="FG_RAMP" tc="10.0"/>
<set name="fcs/elevator-cmd-norm" value="-0.18" action="FG_RAMP" tc="20.0"/>
<set name="fcs/aileron-cmd-norm" value="0.22" action="FG_RAMP" tc="20.0"/>
<set name="fcs/rudder-cmd-norm" value="0.39" action="FG_RAMP" tc="3.0"/>
<notify>
<property> propulsion/engine/rotor-rpm </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> position/distance-from-start-mag-mt </property>
</notify>
</event>
<event name="Engage pitch'n'roll afcs">
<condition>
simulation/test-variant gt 0
simulation/sim-time-sec ge 15
</condition>
<set name="ap/afcs/manual/phi-trim-rad" value="-0.049254"/>
<set name="ap/afcs/manual/theta-trim-rad" value="-0.006428"/>
<set name="ap/afcs/pitch-channel-active-norm" value="1.0" action="FG_RAMP" tc="3.0"/>
<set name="ap/afcs/roll-channel-active-norm" value="1.0" action="FG_RAMP" tc="3.0"/>
<notify/>
</event>
<event name="Hover around at approx 75ft hagl (OGE)">
<condition>
simulation/test-variant gt 0
position/h-agl-ft ge 50
</condition>
<set name="fcs/collective-cmd-norm" value="0.615" action="FG_RAMP" tc="5.0"/>
<set name="fcs/elevator-cmd-norm" value="-0.1558" action="FG_RAMP" tc="5.0"/>
<set name="fcs/aileron-cmd-norm" value="0.19095" action="FG_RAMP" tc="5.0"/>
<set name="fcs/rudder-cmd-norm" value="0.39" action="FG_RAMP" tc="3.0"/>
<notify/>
</event>
<event name="Avoid rising over 100ft hagl">
<condition>
simulation/test-variant gt 0
position/h-agl-ft ge 90
simulation/sim-time-sec lt 120
</condition>
<set name="fcs/collective-cmd-norm" value="0.6007" action="FG_RAMP" tc="5.0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
</notify>
</event>
<!-- Raise attention when watching in FlightGear -->
<event name="20 seconds before fly off">
<condition>
simulation/test-variant gt 0
simulation/sim-time-sec ge 100
</condition>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> propulsion/engine/rotor-rpm </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> position/distance-from-start-mag-mt </property>
</notify>
</event>
<!-- end of common part -->
<!-- =========== test-variant eq 1 (max speed) =========== -->
<event name="1: fly off">
<condition>
simulation/test-variant eq 1
simulation/sim-time-sec ge 120
</condition>
<set name="fcs/collective-cmd-norm" value="0.59" action="FG_RAMP" tc="20.0"/>
<set name="fcs/elevator-cmd-norm" value="0.1" action="FG_RAMP" tc="15.0"/>
<set name="fcs/aileron-cmd-norm" value="0.02" action="FG_RAMP" tc="15.0"/>
<set name="ap/afcs/manual/phi-trim-rad" value="-0.025139" action="FG_RAMP" tc="15.0"/>
<set name="ap/afcs/manual/theta-trim-rad" value="-0.034275" action="FG_RAMP" tc="15.0"/>
<set name="ap/afcs/altitude-trim-ft" value="2650.0"/><!-- ~ 5000ft sl -->
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
</notify>
</event>
<event name="1: Engage altitude afcs">
<condition>
simulation/test-variant eq 1
simulation/sim-time-sec ge 120
position/h-agl-ft ge 1500
</condition>
<!-- tweak: activate the channel slowly -->
<set name="ap/afcs/altitude-channel-active-norm" value="1.0" action="FG_RAMP" tc="90.0"/>
<notify/>
</event>
<event name="1: Trying max speed at 5000 ft">
<condition>
simulation/test-variant eq 1
simulation/sim-time-sec ge 120
velocities/vc-kts ge 75
</condition>
<set name="fcs/collective-cmd-norm" value="0.90" action="FG_RAMP" tc="30.0"/>
<set name="fcs/elevator-cmd-norm" value="0.6" action="FG_RAMP" tc="30.0"/>
<set name="fcs/aileron-cmd-norm" value="-0.1" action="FG_RAMP" tc="30.0"/>
<set name="fcs/rudder-cmd-norm" value="-0.071092" action="FG_RAMP" tc="30.0"/>
<set name="ap/afcs/manual/phi-trim-rad" value="-0.039" action="FG_RAMP" tc="15.0"/>
<set name="ap/afcs/manual/theta-trim-rad" value="-0.070" action="FG_RAMP" tc="15.0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
</notify>
</event>
<event name="1: Rise to 8000 ft (sl)">
<!-- this avoids hitting some mountains when observing with FG -->
<condition>
simulation/test-variant eq 1
simulation/sim-time-sec ge 900
</condition>
<set name="ap/afcs/altitude-trim-ft" value="5650.0" action="FG_RAMP" tc="90.0"/>
<notify/>
</event>
<event name="1: Back to 5000 ft (sl)">
<condition>
simulation/test-variant eq 1
simulation/sim-time-sec ge 1200
</condition>
<set name="ap/afcs/altitude-trim-ft" value="2650.0" action="FG_RAMP" tc="90.0"/>
<notify/>
</event>
<!-- =========== test-variant eq 2 (trimmed flight) =========== -->
<!--
Test the usability of the steady flight data (SFD) tables.
Note: In this test the pilot inputs are *relative* to the
varying values provided by the SFD-tables.
-->
<event name="2: Switch to trim table based control">
<condition>
simulation/test-variant eq 2
simulation/sim-time-sec ge 120
</condition>
<!-- 'undo' pilot inputs -->
<set name="fcs/automatic/steady-flight-data-enable" value="1.0" action="FG_RAMP" tc="5.0"/>
<set name="fcs/collective-cmd-norm" value="0.00" action="FG_RAMP" tc="5.0"/>
<set name="fcs/elevator-cmd-norm" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="fcs/aileron-cmd-norm" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="fcs/rudder-cmd-norm" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="ap/afcs/manual/phi-trim-rad" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="ap/afcs/manual/theta-trim-rad" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="ap/afcs/altitude-trim-ft" value="100.0"/>
<set name="ap/afcs/altitude-channel-active-norm" value="1.0" action="FG_RAMP" tc="5.0"/>
<!--
'afcs hacking'
disable afcs/lateral-ctrl and afcs/longitudinal-ctrl components,
but keep the pitch- and roll-damping functionality.
-->
<set name="ap/afcs/adj/lateral-ctrl-gain" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="ap/afcs/adj/longitudinal-ctrl-gain" value="0.0" action="FG_RAMP" tc="5.0"/>
<notify>
<property> velocities/vc-kts</property>
<property> position/h-agl-ft</property>
</notify>
</event>
<event name="2: Climb to 5000ft sl (with approx 1800 ft/min)">
<condition>
simulation/test-variant eq 2
simulation/sim-time-sec ge 180
</condition>
<set name="ap/afcs/altitude-trim-ft" value="2760.0" action="FG_RAMP" tc="90.0"/>
<notify>
<property> velocities/vc-kts</property>
<property> position/h-agl-ft</property>
</notify>
</event>
<event name="2: Slowly fly away">
<condition>
simulation/test-variant eq 2
simulation/sim-time-sec ge 300
position/h-sl-ft ge 5000
</condition>
<set name="fcs/elevator-cmd-norm" value="0.04" action="FG_RAMP" tc="5.0"/>
<notify>
<property> velocities/vc-kts</property>
<property> position/h-agl-ft</property>
</notify>
</event>
<event name="2: Avoid high speed">
<condition>
simulation/test-variant eq 2
simulation/sim-time-sec ge 300
position/h-sl-ft ge 5000
velocities/vc-kts ge 100
</condition>
<set name="fcs/elevator-cmd-norm" value="-0.0175" action="FG_RAMP" tc="5.0"/>
<notify>
<property> velocities/vc-kts</property>
<property> position/h-agl-ft</property>
</notify>
</event>
<!-- =========== test-variant eq 3 (autorotation) =========== -->
<!--
Descending in autorotation comes pretty close to real
flight data, but scripted landing is rather a painful
task.
This test is orientated on the maximum glide distance
condition shown in the 'Climb-descent chart' in the
AH-1S Operator's Manual (TM 55-1520-234-10, A.D. 1976,
or the similar chart found the Hefley paper /HE88/. )
HE88: Heffley, Robert K., Mnich, Marc A.,
"Minimum-Complexity Helicopter Simulation Math Model",
USA AVSCOM TR-87-A-7, 1988.
-->
<event name="3: reach 90kts at 5000ft sl">
<condition>
simulation/test-variant eq 3
simulation/sim-time-sec ge 120
</condition>
<set name="fcs/elevator-cmd-norm" value="0.32" action="FG_RAMP" tc="30.0"/>
<set name="fcs/aileron-cmd-norm" value="0.00" action="FG_RAMP" tc="30.0"/>
<set name="ap/afcs/altitude-trim-ft" value="2760.0" action="FG_RAMP" tc="75.0"/>
<set name="ap/afcs/altitude-channel-active-norm" value="1.0" action="FG_RAMP" tc="10.0"/>
<set name="ap/afcs/manual/phi-trim-rad" value="-0.025" action="FG_RAMP" tc="15.0"/>
<set name="ap/afcs/manual/theta-trim-rad" value="-0.04" action="FG_RAMP" tc="15.0"/>
<set name="fcs/rudder-cmd-norm" value="-0.013" action="FG_RAMP" tc="30.0"/>
<notify>
<property> velocities/vc-kts</property>
<property> position/h-agl-ft</property>
</notify>
</event>
<event name="3: keep 90kts">
<condition>
velocities/vc-kts ge 85
simulation/test-variant eq 3
simulation/sim-time-sec ge 120
</condition>
<set name="fcs/elevator-cmd-norm" value="0.165" action="FG_RAMP" tc="5.0"/>
<notify>
<property> velocities/vc-kts</property>
<property> position/h-agl-ft</property>
<property> position/h-sl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
</notify>
</event>
<event name="3: simulate powerloss and go into autorotation">
<condition>
simulation/test-variant eq 3
simulation/sim-time-sec ge 240
</condition>
<!-- detach engine -->
<set name="propulsion/engine/clutch-ctrl-norm" value="0.0" action="FG_RAMP" tc="1.0"/>
<set name="ap/afcs/altitude-channel-active-norm" value="0.0" action="FG_RAMP" tc="1.0"/>
<set name="fcs/rpm-governor-active-norm" value="0.0" action="FG_RAMP" tc="1.0"/>
<!-- set controls for descent -->
<set name="fcs/collective-cmd-norm" value="0.11" action="FG_RAMP" tc="10.0"/>
<set name="fcs/aileron-cmd-norm" value="0.075" action="FG_RAMP" tc="10.0"/>
<set name="fcs/elevator-cmd-norm" value="-0.12" action="FG_RAMP" tc="10.0"/>
<set name="fcs/rudder-cmd-norm" value="0.0" action="FG_RAMP" tc="10.0"/>
<set name="ap/afcs/lateral-trim" value="0.0063" action="FG_RAMP" tc="10.0"/>
<set name="ap/afcs/longitudinal-trim" value="-0.049" action="FG_RAMP" tc="10.0"/>
<!-- bug afcs -->
<set name="ap/afcs/adj/lateral-ctrl-gain" value="0.0" action="FG_RAMP" tc="5.0"/>
<set name="ap/afcs/adj/longitudinal-ctrl-gain" value="0.0" action="FG_RAMP" tc="5.0"/>
<!-- adjust for the touchdown zone, useful when visualized within flightgear -->
<set name="position/terrain-elevation-asl-ft" value="2290.0" action="FG_RAMP" tc="5.0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
</notify>
</event>
<event name="3: try a flare - ok, this will hurt!">
<condition>
simulation/test-variant eq 3
simulation/sim-time-sec ge 240
position/h-agl-ft lt 190
</condition>
<set name="fcs/collective-cmd-norm" value="0.45" action="FG_RAMP" tc="20.0"/>
<set name="fcs/elevator-cmd-norm" value="-0.68" action="FG_RAMP" tc="11.0"/>
<set name="fcs/aileron-cmd-norm" value="0.15" action="FG_RAMP" tc="10.0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> propulsion/engine/rotor-rpm </property>
<property> propulsion/engine/thrust-lbs </property>
<property> propulsion/engine/collective-ctrl-rad </property>
</notify>
</event>
<event name="3: try to level (or at least: avoid hitting with the rear bumper)">
<condition>
simulation/test-variant eq 3
simulation/sim-time-sec ge 240
position/h-agl-ft lt 40
</condition>
<set name="fcs/elevator-cmd-norm" value="-0.2" action="FG_RAMP" tc="12.0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> propulsion/engine/rotor-rpm </property>
<property> propulsion/engine/thrust-lbs </property>
<property> propulsion/engine/collective-ctrl-rad </property>
</notify>
</event>
<event name="3: about to touchdown">
<condition>
position/h-agl-ft lt 9.0
simulation/test-variant eq 3
simulation/sim-time-sec ge 240
</condition>
<set name="simulation/terminate" value="0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> propulsion/engine/rotor-rpm </property>
<property> propulsion/engine/thrust-lbs </property>
<property> propulsion/engine/collective-ctrl-rad </property>
<property> propulsion/engine/rotor-rpm </property>
<property> attitude/pitch-deg </property>
</notify>
</event>
<event name="3: after touchdown/crash">
<condition>
position/h-agl-ft lt 9
simulation/test-variant eq 3
simulation/sim-time-sec ge 240
</condition>
<set name="simulation/terminate" value="1"/>
<delay> 10 </delay>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> propulsion/engine/rotor-rpm </property>
<property> propulsion/engine/thrust-lbs </property>
<property> propulsion/engine/collective-ctrl-rad </property>
<property> propulsion/engine/rotor-rpm </property>
</notify>
</event>
<!-- =========== test-variant eq 4 (max. hover height) =========== -->
<!--
Try a pure vertical ascent, and check the (estimated!)
bell-torque-sensor output.
-->
<event name="4: Climb w/o exceeding engine limits (56/50 PSI)">
<condition>
simulation/test-variant eq 4
simulation/sim-time-sec ge 120
</condition>
<set name="fcs/collective-cmd-norm" value="0.85" action="FG_EXP" tc="300.0"/>
<set name="fcs/elevator-cmd-norm" value="-0.155" action="FG_EXP" tc="300.0"/>
<set name="fcs/aileron-cmd-norm" value="0.255" action="FG_EXP" tc="300.0"/>
<set name="fcs/rudder-cmd-norm" value="0.50" action="FG_EXP" tc="300.0"/>
<set name="ap/afcs/manual/phi-trim-rad" value="-0.05" action="FG_EXP" tc="300.0"/>
<set name="ap/afcs/manual/theta-trim-rad" value="-0.006" action="FG_EXP" tc="300.0"/>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
</notify>
</event>
<event name="4: Passing max height from operators manual (assuming 8500lbs grossweight)">
<condition>
simulation/test-variant eq 4
simulation/sim-time-sec ge 120
position/h-sl-ft ge 13000
</condition>
<notify>
<property> position/h-sl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> velocities/h-dot-fps </property>
<property> propulsion/engine/bell-torque-sensor-psi </property>
</notify>
</event>
<!-- end of tests -->
<!-- ===========
Reporters
=========== -->
<event name="State report" persistent="true">
<condition>
simulation/sim-time-sec ge simulation/notify-time-trigger
</condition>
<set name="simulation/notify-time-trigger" value="60.0" type="FG_DELTA"/>
<notify>
<property> velocities/vc-kts </property>
<property> fcs/SFD/trim/v_dir_kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
<property> attitude/heading-true-rad </property>
<property> aero/alpha-deg </property>
<property> aero/beta-deg </property>
<property> aero/mu </property>
<property> aero/qbar-psf </property>
<property> aero/force/D0_fus </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> velocities/h-dot-fps </property>
<property> propulsion/engine/rotor-rpm </property>
<property> position/distance-from-start-mag-mt </property>
<property> propulsion/engine/torque-lbsft </property>
<property> propulsion/engine/bell-torque-sensor-psi </property>
<!--
<property> propulsion/tank[0]/contents-lbs </property>
<property> propulsion/tank[1]/contents-lbs </property>
-->
</notify>
</event>
<event name="3: State report - autorotation" persistent="true">
<condition>
simulation/test-variant eq 3
simulation/sim-time-sec ge simulation/notify-time-trigger-ar
</condition>
<set name="simulation/notify-time-trigger-ar" value="10.0" type="FG_DELTA"/>
<notify>
<property> velocities/vc-kts </property>
<property> fcs/SFD/trim/v_dir_kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
<property> attitude/heading-true-rad </property>
<property> aero/alpha-deg </property>
<property> aero/beta-deg </property>
<property> aero/mu </property>
<property> aero/qbar-psf </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> velocities/h-dot-fps </property>
<property> propulsion/engine/rotor-rpm </property>
<property> propulsion/engine/torque-lbsft </property>
<property> attitude/approach-angle-deg </property>
<property> propulsion/engine/thrust-lbs </property>
<property> propulsion/engine/vi-fps </property>
<property> propulsion/engine/torque-lbsft </property>
</notify>
</event>
<event name="Off bottom">
<condition>
simulation/sim-time-sec ge 1
forces/fbx-gear-lbs eq 0
forces/fby-gear-lbs eq 0
forces/fbz-gear-lbs eq 0
</condition>
<notify>
<property> position/h-agl-ft </property>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> position/distance-from-start-mag-mt </property>
</notify>
</event>
<event name="9 feet high">
<description> Check for a more or less straight start. </description>
<condition> position/h-agl-ft ge 9 </condition>
<notify>
<property> velocities/u-aero-fps </property>
<property> velocities/v-aero-fps </property>
<property> velocities/w-aero-fps </property>
<property> position/distance-from-start-mag-mt </property>
</notify>
</event>
<event name="Catch 30 kts">
<condition> velocities/vc-kts ge 30 </condition>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
</notify>
</event>
<event name="Catch 60 kts">
<condition> velocities/vc-kts ge 60 </condition>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
</notify>
</event>
<event name="Catch 90 kts">
<condition> velocities/vc-kts ge 90 </condition>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
</notify>
</event>
<event name="Catch 150 kts">
<condition> velocities/vc-kts ge 150 </condition>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
</notify>
</event>
<event name="Catch 5000 ft">
<condition> position/h-sl-ft ge 5000 </condition>
<notify>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
</notify>
</event>
<event name="Regular end of script">
<condition> simulation/sim-time-sec ge 2800 </condition>
<notify>
<property> simulation/test-variant </property>
<property> velocities/vc-kts </property>
<property> position/h-agl-ft </property>
<property> position/h-sl-ft </property>
</notify>
</event>
</run>
</runscript>