-
Notifications
You must be signed in to change notification settings - Fork 43
/
c172p.xml
2409 lines (2273 loc) · 94 KB
/
c172p.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
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
<!-- Source: http://forum.flightgear.org/viewtopic.php?f=25&t=21664&start=45 -->
<fdm_config name="c172" version="2.0" release="BETA"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Unknown </author>
<filecreationdate> 2002-01-01 </filecreationdate>
<version> $Id: c172p.xml,v 1.41 Jan 2018 $ </version>
<!-- experimental stall and spin, up to flat spin March 2014, Dany93 (Daniel Dubreuil) -->
<!-- Source: http://forum.flightgear.org/viewtopic.php?f=25&t=21664&start=45 -->
<!-- this file with comments for stall and spin to help -->
<!-- further modifications for c172p-detailed 2015 - 2018 -->
<!-- with help and extra informations from okroth and algefaen -->
<description> Cessna 172P Skyhawk </description>
</fileheader>
<metrics>
<wingarea unit="FT2"> 174 </wingarea>
<wingspan unit="FT"> 35.8 </wingspan>
<chord unit="FT"> 4.9 </chord>
<htailarea unit="FT2"> 21.9 </htailarea>
<htailarm unit="FT"> 15.7 </htailarm>
<vtailarea unit="FT2"> 16.5 </vtailarea>
<vtailarm unit="FT"> 0 </vtailarm>
<location name="AERORP" unit="IN">
<x> 41.2 </x> <!-- initial: 40.6 (25% Mean Aerodynamic Chord) -->
<y> 0 </y>
<z> 29.3 </z>
</location>
<location name="EYEPOINT" unit="IN">
<x> 37 </x>
<y> 0 </y>
<z> 48 </z>
</location>
<location name="VRP" unit="IN">
<x> 34 </x>
<y> 0 </y>
<z> 35.75 </z>
</location>
</metrics>
<!--
Cessna 172P Skyhawk 1982 (160hp) POH p.6-10, Weight and Moment:
**Basic Empty** (= with full oil) 1467 lbs, 57300 lb-ins. Gives CG at 39.06 ins.
-->
<mass_balance>
<ixx unit="SLUG*FT2"> 948 </ixx>
<iyy unit="SLUG*FT2"> 1285 </iyy>
<izz unit="SLUG*FT2"> 1906 </izz>
<ixy unit="SLUG*FT2"> -0 </ixy>
<ixz unit="SLUG*FT2"> -0 </ixz>
<iyz unit="SLUG*FT2"> -0 </iyz>
<emptywt unit="LBS"> 1467 </emptywt>
<location name="CG" unit="IN">
<x> 39.06 </x>
<y> 0 </y>
<z> 25 </z>
</location>
<pointmass name="Pilot">
<weight unit="LBS"> 180 </weight>
<location name="POINTMASS" unit="IN">
<x> 36 </x>
<y> -14 </y>
<z> 24 </z>
</location>
</pointmass>
<pointmass name="Co-Pilot">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 36 </x>
<y> 14 </y>
<z> 24 </z>
</location>
</pointmass>
<pointmass name="Left Passenger">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 70 </x>
<y> -14 </y>
<z> 24 </z>
</location>
</pointmass>
<pointmass name="Right Passenger">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 70 </x>
<y> 14 </y>
<z> 24 </z>
</location>
</pointmass>
<pointmass name="Baggage">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 95 </x>
<y> 0 </y>
<z> 24 </z>
</location>
</pointmass>
<!-- Bushkits 1 to 5, pointmass [5] to [14], [15] is 180 hp engine (below) -->
<!-- Weight and drag are managed by Systems/bushkit.xml -->
<pointmass name="Left bush wheel 26 inches">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 58.2 </x>
<y> -43 </y>
<z> -15.5 </z>
</location>
</pointmass>
<pointmass name="Right bush wheel 26 inches">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 58.2 </x>
<y> 43 </y>
<z> -15.5 </z>
</location>
</pointmass>
<pointmass name="Left bush wheel 36 inches">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 58.2 </x>
<y> -43 </y>
<z> -15.5 </z>
</location>
</pointmass>
<pointmass name="Right bush wheel 36 inches">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 58.2 </x>
<y> 43 </y>
<z> -15.5 </z>
</location>
</pointmass>
<pointmass name="Left float">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 41 </x>
<y> -43 </y>
<z> -25 </z>
</location>
</pointmass>
<pointmass name="Right float">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 41 </x>
<y> 43 </y>
<z> -25 </z>
</location>
</pointmass>
<pointmass name="Left amphibious">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 41 </x>
<y> -43 </y>
<z> -25 </z>
</location>
</pointmass>
<pointmass name="Right amphibious">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 41 </x>
<y> 43 </y>
<z> -25 </z>
</location>
</pointmass>
<pointmass name="Left ski">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 58.2 </x>
<y> -43 </y>
<z> -15.5 </z>
</location>
</pointmass>
<pointmass name="Right ski">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 58.2 </x>
<y> 43 </y>
<z> -15.5 </z>
</location>
</pointmass>
<!-- Extra weight for the aircraft with 180 hp engine, **Basic empty** (= with full oil), pointmass [15]; managed by Systems/bushkit.xml -->
<!-- for empty aircraft CG at x = 38.12 ins, from Cessna 172S - N552SP POH (1998) p.6-12, Weight and moment tabulation: 1642 lbs, 62600 lb-ins -->
<pointmass name="extra weight 180hp">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 30.29 </x>
<y> 0 </y>
<z> 26.6 </z>
</location>
</pointmass>
<!-- Loss of weight due to lacking oil, pointmass [16]. engine.nas, c172p-engine.xml -->
<pointmass name="lacking oil weight">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> -19.7 </x>
<y> 0 </y>
<z> 26.6 </z>
</location>
</pointmass>
<!-- pointmass [17] -->
<pointmass name="Wing-Ice">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 36.14 </x>
<y> 0.00 </y>
<z> 56.88 </z>
</location>
</pointmass>
<!-- pointmass [18] -->
<pointmass name="Elevator-Ice">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 208.77 </x>
<y> 0.00 </y>
<z> 29.19 </z>
</location>
</pointmass>
<!-- pointmass [19] -->
<pointmass name="Stabilizer-Ice">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 228.60 </x>
<y> 0.00 </y>
<z> 64.48 </z>
</location>
</pointmass>
<!-- pointmass [20] -->
<pointmass name="Fuselage-Ice">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> -24.00 </x>
<y> 0.00 </y>
<z> 25.79 </z>
</location>
</pointmass>
<!-- pointmass [21] -->
<pointmass name="Windshield-Ice">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> 18.40 </x>
<y> 0.00 </y>
<z> 50.91 </z>
</location>
</pointmass>
<!-- pointmass [22] -->
<pointmass name="Propeller-Ice">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="IN">
<x> -37.39 </x>
<y> 0.00 </y>
<z> 30.04 </z>
</location>
</pointmass>
</mass_balance>
<ground_reactions>
<documentation>
The hydrodynamic interactions of the floats are modelled by
external forces.
</documentation>
<contact type="BOGEY" name="NOSE">
<location unit="IN">
<x> -7.3 </x>
<y> 0 </y>
<z> -20.3 </z> <!-- managed in Systems/c172p-ground-effects.xml -->
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 3600 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1200 </damping_coeff>
<max_steer unit="DEG"> 30 </max_steer> <!-- limited to 10 deg NWS, but can turn up to 30 with side force -->
<brake_group> NONE </brake_group>
<retractable>0</retractable>
</contact>
<contact type="BOGEY" name="LEFT_MAIN">
<location unit="IN">
<x> 57.3 </x>
<y> -43 </y>
<z> -15.3 </z> <!-- managed in Systems/c172p-ground-effects.xml -->
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1800 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> LEFT </brake_group>
<retractable>0</retractable>
</contact>
<contact type="BOGEY" name="RIGHT_MAIN">
<location unit="IN">
<x> 57.3 </x>
<y> 43 </y>
<z> -15.1 </z> <!-- managed in Systems/c172p-ground-effects.xml -->
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1800 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> RIGHT </brake_group>
<retractable>0</retractable>
</contact>
<!-- Damage Mod -->
<!-- contact 3, 4, 5 -->
<contact type="STRUCTURE" name="TAIL_SKID">
<location unit="IN">
<x> 226.7 </x>
<y> 0 </y>
<z> 17 </z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.25 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 2000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1000 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="LEFT_TIP">
<location unit="IN">
<x> 20 </x>
<y> -232 </y>
<z> 50 </z>
</location>
<static_friction> 0.75 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="RIGHT_TIP">
<location unit="IN">
<x> 20 </x>
<y> 232 </y>
<z> 50 </z>
</location>
<static_friction> 0.75 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<!-- contact 6, 7, 8 -->
<contact type="STRUCTURE" name="FRONT_BROKEN_GEAR">
<location unit="IN">
<x> -6.8 </x>
<y> 0 </y>
<z> 0 </z>
</location>
<static_friction> 0.9 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="LEFT_BROKEN_GEAR">
<location unit="IN">
<x> 58.2 </x>
<y> -48 </y>
<z> 0 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.4 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="RIGHT_BROKEN_GEAR">
<location unit="IN">
<x> 58.2 </x>
<y> 48 </y>
<z> 0 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.4 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<!-- contact 9, 10, 11, 12 -->
<contact type="STRUCTURE" name="NOSE_TOP">
<location unit="IN">
<x> -119 </x>
<y> 0 </y>
<z> 35 </z>
</location>
<static_friction> .75 </static_friction>
<dynamic_friction> .5 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="NOSE">
<location unit="IN">
<x> -119 </x>
<y> 0 </y>
<z> 8 </z>
</location>
<static_friction> 3.0 </static_friction>
<dynamic_friction> 2.0 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="COCKPIT_TOP">
<location unit="IN">
<x> -4.7 </x>
<y> 0 </y>
<z> 60 </z>
</location>
<static_friction> 3.0 </static_friction>
<dynamic_friction> 2.0 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="TOP_VS">
<location unit="IN">
<x> 253.5 </x>
<y> 0 </y>
<z> 90 </z>
</location>
<static_friction> 3.0 </static_friction>
<dynamic_friction> 2.0 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<!-- contact 13, 14, 15, 16, 17, 18 -->
<contact type="STRUCTURE" name="LFfloat">
<location unit="IN">
<x>3.230</x>
<y>-56.889</y>
<z>38.5</z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.2 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="RFfloat">
<location unit="IN">
<x>3.230</x>
<y>56.889</y>
<z>38.5</z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.2 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="LMfloat">
<location unit="IN">
<x>70.16</x>
<y>-56.889</y>
<z>38.5</z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.2 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="RMfloat">
<location unit="IN">
<x>70.16</x>
<y>56.889</y>
<z>38.5</z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.2 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="LRfloat">
<location unit="IN">
<x>160.71</x>
<y>-56.889</y>
<z>38.5</z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.2 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<contact type="STRUCTURE" name="RRfloat">
<location unit="IN">
<x>160.71</x>
<y>56.889</y>
<z>38.5</z>
</location>
<static_friction> 0.5 </static_friction>
<dynamic_friction> 0.2 </dynamic_friction>
<spring_coeff unit="LBS/FT"> 1830.15 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 366.03 </damping_coeff>
</contact>
<!-- contact 19, 20, 21, 22 -->
<contact type="BOGEY" name="LFFloatGear">
<location unit="IN">
<x>-44.8</x>
<y>-56.889</y>
<z>0</z>
</location>
<static_friction> 0.05</static_friction>
<dynamic_friction>0.05</dynamic_friction>
<rolling_friction>0.02</rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG">360</max_steer>
<brake_group>NONE</brake_group>
<retractable>1</retractable>
</contact>
<contact type="BOGEY" name="RFFloatGear">
<location unit="IN">
<x>-44.8</x>
<y>56.889</y>
<z>0</z>
</location>
<static_friction> 0.05</static_friction>
<dynamic_friction>0.05</dynamic_friction>
<rolling_friction>0.02</rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG">360</max_steer>
<brake_group>NONE</brake_group>
<retractable>1</retractable>
</contact>
<contact type="BOGEY" name="LMFloatGear">
<location unit="IN">
<x>73.1</x>
<y>-56.889</y>
<z>0</z>
</location>
<static_friction> 0.80</static_friction>
<dynamic_friction>0.50</dynamic_friction>
<rolling_friction>0.02</rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG">0</max_steer>
<brake_group>LEFT</brake_group>
<retractable>1</retractable>
</contact>
<contact type="BOGEY" name="RMFloatGear">
<location unit="IN">
<x>73.1</x>
<y>56.889</y>
<z>0</z>
</location>
<static_friction> 0.80</static_friction>
<dynamic_friction>0.50</dynamic_friction>
<rolling_friction>0.02</rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG">0</max_steer>
<brake_group>RIGHT</brake_group>
<retractable>1</retractable>
</contact>
<!-- contact 23 = 2 wheels on nose ski.
The ski wheels friction would have a
rolling friction on a hard surface and
slide or drag on snow -->
<!-- contact 23, 24, 25 -->
<contact type="BOGEY" name="NOSE_SKI">
<location unit="IN">
<x> 18.44 </x>
<y> 0 </y>
<z> -10 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 1800 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 600 </damping_coeff>
<max_steer unit="DEG"> 10 </max_steer>
<brake_group> NONE </brake_group>
<retractable>0</retractable>
</contact>
<contact type="BOGEY" name="LEFT_SKI">
<location unit="IN">
<x> 86.4 </x>
<y> -51 </y>
<z> -10 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 15 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> NONE </brake_group>
<retractable>0</retractable>
</contact>
<contact type="BOGEY" name="RIGHT_SKI">
<location unit="IN">
<x> 86.4 </x>
<y> 52 </y>
<z> -10 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 15 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group>NONE </brake_group>
<retractable>0</retractable>
</contact>
</ground_reactions>
<propulsion>
<engine file="eng_io320">
<!--
<location unit="IN">
<x> -19.7 </x>
<y> 0 </y>
<z> 26.6 </z>
</location>
<orient unit="DEG">
<roll> 0.0 </roll>
<pitch> 0 </pitch>
<yaw> 0 </yaw>
</orient>
-->
<feed>4</feed> <!-- from intermediate tank (float chamber 4) -->
<thruster file="prop_75in2f">
<!-- <thruster file="prop_75in_2f_NACA_15-30deg"> --> <!-- for settling -->
<location unit="IN">
<x> -37.7 </x>
<y> 0 </y>
<z> 29.3 </z>
</location>
<orient unit="DEG">
<roll> 0.0 </roll>
<pitch> 0.0 </pitch>
<yaw> 0.0 </yaw>
</orient>
<sense> 1 </sense>
<p_factor> 15 </p_factor>
</thruster>
</engine>
<engine file="eng_io360">
<!--
<location unit="IN">
<x> -19.7 </x>
<y> 0 </y>
<z> 26.6 </z>
</location>
<orient unit="DEG">
<roll> 0.0 </roll>
<pitch> 0 </pitch>
<yaw> 0 </yaw>
</orient>
-->
<feed>4</feed> <!-- from intermediate tank (float chamber 4) -->
<thruster file="prop_76in2f_NACA_20deg">
<!-- <thruster file="prop_76in2f_NACA_15-25deg"> --> <!-- for settling -->
<location unit="IN">
<x> -37.7 </x>
<y> 0 </y>
<z> 29.3 </z>
</location>
<orient unit="DEG">
<roll> 0.0 </roll>
<pitch> 0.0 </pitch>
<yaw> 0.0 </yaw>
</orient>
<sense> 1 </sense>
<p_factor> 15 </p_factor>
</thruster>
</engine>
<!-- Tank number 0 -->
<tank type="FUEL">
<location unit="IN">
<x> 48 </x>
<y>-44 </y>
<z> 55 </z>
</location>
<capacity unit="LBS">129.43</capacity>
<contents unit="LBS">0.0 </contents>
<type>AVGAS</type>
</tank>
<!-- Tank number 1 -->
<tank type="FUEL">
<location unit="IN">
<x> 48 </x>
<y> 44 </y>
<z> 55 </z>
</location>
<capacity unit="LBS">129.43</capacity>
<contents unit="LBS">0.0 </contents>
<type>AVGAS</type>
</tank>
<!-- Tank number 2 -->
<tank type="FUEL">
<location unit="IN">
<x> 48 </x>
<y>-44 </y>
<z> 55 </z>
</location>
<capacity unit="LBS">204</capacity>
<contents unit="LBS">0.0 </contents>
<type>AVGAS</type>
</tank>
<!-- Tank number 3 -->
<tank type="FUEL">
<location unit="IN">
<x> 48 </x>
<y> 44 </y>
<z> 55 </z>
</location>
<capacity unit="LBS">204</capacity>
<contents unit="LBS">0.0 </contents>
<type>AVGAS</type>
</tank>
<!-- Tank number 4, Float chamber -->
<tank type="FUEL">
<location unit="IN">
<x>-10 </x>
<y> 0 </y>
<z> 26 </z>
</location>
<capacity unit="LBS">0.1</capacity>
<contents unit="LBS">0.0</contents>
<priority>1</priority>
<type>AVGAS</type>
</tank>
</propulsion>
<flight_control name="FCS: c172">
<channel name="Pitch">
<kinematic name="fcs/elevator-cmd-norm-filtered">
<input>fcs/elevator-cmd-norm</input>
<traverse>
<setting>
<position>-1</position>
<time>0</time>
</setting>
<setting>
<position>1</position>
<time>0.30</time>
</setting>
</traverse>
<output>/sim/model/c172p/cockpit/yoke-elevator</output>
</kinematic>
<summer name="Pitch Trim Sum">
<input>fcs/elevator-cmd-norm-filtered</input>
<input>fcs/pitch-trim-cmd-norm</input>
<clipto>
<min>-1</min>
<max>1</max>
</clipto>
</summer>
<aerosurface_scale name="Elevator Control">
<input>fcs/pitch-trim-sum</input>
<gain>0.01745</gain>
<range>
<min>-28</min>
<max>23</max>
</range>
<output>fcs/elevator-pos-rad</output>
</aerosurface_scale>
<aerosurface_scale name="Elevator Position Normalized">
<input>fcs/elevator-pos-deg</input>
<domain>
<min>-28</min>
<max>23</max>
</domain>
<range>
<min>-1</min>
<max>1</max>
</range>
<output>fcs/elevator-pos-norm</output>
</aerosurface_scale>
</channel>
<channel name="Roll">
<kinematic name="fcs/aileron-cmd-norm-filtered">
<input>fcs/aileron-cmd-norm</input>
<traverse>
<setting>
<position>-1</position>
<time>0</time>
</setting>
<setting>
<position>1</position>
<time>0.15</time>
</setting>
</traverse>
<output>/sim/model/c172p/cockpit/yoke-aileron</output>
</kinematic>
<summer name="Roll Trim Sum">
<input>fcs/aileron-cmd-norm-filtered</input>
<input>fcs/roll-trim-cmd-norm</input>
<clipto>
<min>-1</min>
<max>1</max>
</clipto>
</summer>
<aerosurface_scale name="Left Aileron Control">
<input>fcs/roll-trim-sum</input>
<gain>0.01745</gain>
<range>
<min>-20</min>
<max>15</max>
</range>
<output>fcs/left-aileron-pos-rad</output>
</aerosurface_scale>
<aerosurface_scale name="Left Aileron Position Normalized">
<input>fcs/left-aileron-pos-deg</input>
<domain>
<min>-20</min>
<max>15</max>
</domain>
<range>
<min>-1</min>
<max>1</max>
</range>
<output>fcs/left-aileron-pos-norm</output>
</aerosurface_scale>
<aerosurface_scale name="Right Aileron Control">
<input>-fcs/roll-trim-sum</input>
<gain>0.01745</gain>
<range>
<min>-20</min>
<max>15</max>
</range>
<output>fcs/right-aileron-pos-rad</output>
</aerosurface_scale>
<aerosurface_scale name="Right Aileron Position Normalized">
<input>fcs/right-aileron-pos-deg</input>
<domain>
<min>-20</min>
<max>15</max>
</domain>
<range>
<min>1</min>
<max>-1</max>
</range>
<output>fcs/right-aileron-pos-norm</output>
</aerosurface_scale>
</channel>
<channel name="Yaw">
<kinematic name="fcs/rudder-cmd-norm-filtered">
<input>fcs/rudder-cmd-norm</input>
<traverse>
<setting>
<position>-1</position>
<time>0</time>
</setting>
<setting>
<position>1</position>
<time>0.15</time>
</setting>
</traverse>
<output>/sim/model/c172p/cockpit/pedals-rudder</output>
</kinematic>
<summer name="Yaw Trim Sum">
<input>fcs/rudder-cmd-norm-filtered</input>
<input>fcs/yaw-trim-cmd-norm</input>
<input>fcs/yaw-trim-cockpit</input>
<clipto>
<min>-1</min>
<max>1</max>
</clipto>
</summer>
<aerosurface_scale name="Rudder Control">
<input>fcs/yaw-trim-sum</input>
<gain>0.01745</gain>
<range>
<min>-16</min>
<max>16</max>
</range>
<output>fcs/rudder-pos-rad</output>
</aerosurface_scale>
<aerosurface_scale name="Rudder Position Normalized">
<input>fcs/rudder-pos-deg</input>
<domain>
<min>-16</min>
<max>16</max>
</domain>
<range>
<min>-1</min>
<max>1</max>
</range>
<output>fcs/rudder-pos-norm</output>
</aerosurface_scale>
</channel>
<channel name="Braking">
<summer name="fcs/parking-brake-sum">
<input>/sim/model/c172p/securing/chock-visible</input>
<input>/fdm/jsbsim/damage/repairing</input>
<input>/controls/gear/brake-parking</input>
</summer>
<fcs_function name="fcs/left-brake-sum">
<function>
<max>
<property>fcs/parking-brake-sum</property>
<property>/controls/gear/brake-left</property>
</max>
</function>
<output>fcs/left-brake-cmd-norm</output>
</fcs_function>
<fcs_function name="fcs/right-brake-sum">
<function>
<max>
<property>fcs/parking-brake-sum</property>
<property>/controls/gear/brake-right</property>
</max>
</function>
<output>fcs/right-brake-cmd-norm</output>
</fcs_function>
</channel>
<channel name="NWS">
<switch name="fcs/nws-enabled">
<default value="0"/>
<test logic="OR" value="1"> <!-- NWS mechanically centered if gear is fully extended -->
/gear/gear[0]/compression-norm gt 0.001
</test>
</switch>
<fcs_function name="left brake nose-gear">
<function name="fcs/nose-gear-left-brake-steer-factor">
<product>
<property>fcs/left-brake-cmd-norm</property>
<value>-1</value>
</product>
</function>
</fcs_function>
<fcs_function name="right brake nose-gear">
<function name="fcs/nose-gear-right-brake-steer-factor">
<product>
<property>fcs/right-brake-cmd-norm</property>
<value>1</value>
</product>
</function>
</fcs_function>
<summer name="fcs/brake-sum">
<input>fcs/nose-gear-right-brake-steer-factor</input>
<input>fcs/nose-gear-left-brake-steer-factor</input>
</summer>
<switch name="fcs/brake-influence-enabled"> <!-- brake should not influence nws if the aircraft is not moving -->
<default value="0"/>
<test logic="OR" value="1">
/gear/gear[0]/rollspeed-ms gt 0.25
</test>
</switch>
<fcs_function name="fcs/brake-sum-adjusted">
<function>
<product>
<property>fcs/brake-influence-enabled</property>
<property>fcs/brake-sum</property>
</product>
</function>
</fcs_function>
<fcs_function name="fcs/nws-cmd-deg"> <!-- Drive the nose wheel with the rudder and brakes -->
<function>
<table>
<independentVar lookup="row">fcs/brake-sum-adjusted</independentVar>
<independentVar lookup="column">/controls/flight/rudder</independentVar>