1
0
Fork 0

Merge branch '3D' into 3D-flightdeck

This commit is contained in:
Jonathan Redpath 2022-05-09 22:18:12 +01:00
commit 66a4afa243
6 changed files with 75 additions and 68 deletions

View file

@ -2357,7 +2357,8 @@
<volume>0.05</volume>
</pushback>
<gear-screech>
<!-- Antiskid stops this... but its not setup to detect slipping yet -->
<!--gear-screech>
<name>gear-screech</name>
<mode>once</mode>
<path>Aircraft/A320-family/Sounds/Effects/tires-screech-asphalt.wav</path>
@ -2397,7 +2398,7 @@
</volume>
<reference-dist>10</reference-dist>
<max-dist>200.0</max-dist>
</gear-screech>
</gear-screech-->
<gear-screech-looped>
<name>gear-screech looped</name>

View file

@ -118,10 +118,10 @@
<independentVar lookup="row">fcs/flap-pos-deg</independentVar>
<tableData>
0 0.0000
10 0.1387
15 0.2377
20 0.3127
40 0.3894
10 0.0923
15 0.1463
20 0.2079
40 0.4112
</tableData>
</table>
</product>
@ -137,9 +137,9 @@
<independentVar lookup="row">fcs/slat-pos-deg</independentVar>
<tableData>
0 0.0000
18 0.2734
22 0.3187
27 0.3523
18 0.1814
22 0.2757
27 0.3975
</tableData>
</table>
</product>

View file

@ -1010,7 +1010,7 @@
<!-- Alpha Floor and Toga Lk -->
<switch name="fadec/alpha-floor-engage">
<default value="13"/>
<default value="9.5"/>
<test logic="OR" value="15">
/controls/flight/flaps-pos eq 1
/controls/flight/flaps-pos eq 2
@ -1025,16 +1025,16 @@
</switch>
<switch name="fadec/alpha-floor-disengage">
<default value="11"/>
<test logic="OR" value="13">
<default value="9"/>
<test logic="OR" value="14">
/controls/flight/flaps-pos eq 1
/controls/flight/flaps-pos eq 2
/controls/flight/flaps-pos eq 3
</test>
<test value="12">
<test value="13">
/controls/flight/flaps-pos eq 4
</test>
<test value="11">
<test value="12">
/controls/flight/flaps-pos eq 5
</test>
</switch>

View file

@ -87,10 +87,16 @@
<table>
<independentVar lookup="row">atmosphere/density-altitude</independentVar>
<independentVar lookup="column">fcs/flap-pos-deg</independentVar>
<tableData>
0 15
0 9.5 10.5
43000 6.5 6.8
<independentVar lookup="table">fcs/slat-pos-deg</independentVar>
<tableData breakPoint="0">
0 10 15
0 9.0 11.0 10.5
43000 6.5 7.0 7.0
</tableData>
<tableData breakPoint="18">
0 10 15
0 10.0 11.0 10.5
43000 7.0 7.0 7.0
</tableData>
</table>
</function>
@ -101,10 +107,16 @@
<table>
<independentVar lookup="row">atmosphere/density-altitude</independentVar>
<independentVar lookup="column">fcs/flap-pos-deg</independentVar>
<tableData>
0 15
0 13.5 14.5
43000 7.5 7.7
<independentVar lookup="table">fcs/slat-pos-deg</independentVar>
<tableData breakPoint="0">
0 10 15
0 12.0 15.0 14.5
43000 7.4 7.7 7.7
</tableData>
<tableData breakPoint="18">
0 10 15
0 15.0 15.0 14.5
43000 7.7 7.7 7.7
</tableData>
</table>
</function>

View file

@ -193,43 +193,24 @@
<!-- V alpha prot/max -->
<lag_filter name="/FMGC/internal/valpha-lag">
<input>aero/alpha-deg-fixed</input>
<c1>0.3</c1>
<c1>0.35</c1>
</lag_filter>
<fcs_function name="/FMGC/internal/valpha-prot-input">
<function>
<sqrt>
<quotient>
<property>/FMGC/internal/valpha-lag</property>
<property>fbw/alpha-prot-deg</property>
</quotient>
</sqrt>
</function>
</fcs_function>
<fcs_function name="/FMGC/internal/valpha-max-input">
<function>
<sqrt>
<quotient>
<property>/FMGC/internal/valpha-lag</property>
<property>fbw/alpha-max-deg</property>
</quotient>
</sqrt>
</function>
</fcs_function>
<fcs_function name="/FMGC/internal/valpha-prot">
<function>
<product>
<property>velocities/vc-kts</property>
<table>
<independentVar lookup="row">/FMGC/internal/valpha-prot-input</independentVar>
<tableData>
0 0.3
1 1.0
2 1.6
</tableData>
</table>
<min>
<property>/systems/navigation/adr/output/cas-1</property>
<property>/systems/navigation/adr/output/cas-2</property>
<property>/systems/navigation/adr/output/cas-3</property>
</min>
<pow>
<quotient>
<property>/FMGC/internal/valpha-lag</property>
<property>fbw/alpha-prot-deg</property>
</quotient>
<value>0.28</value>
</pow>
</product>
</function>
</fcs_function>
@ -237,15 +218,18 @@
<fcs_function name="/FMGC/internal/valpha-max">
<function>
<product>
<property>velocities/vc-kts</property>
<table>
<independentVar lookup="row">/FMGC/internal/valpha-max-input</independentVar>
<tableData>
0 0.3
1 1.0
2 1.6
</tableData>
</table>
<min>
<property>/systems/navigation/adr/output/cas-1</property>
<property>/systems/navigation/adr/output/cas-2</property>
<property>/systems/navigation/adr/output/cas-3</property>
</min>
<pow>
<quotient>
<property>/FMGC/internal/valpha-lag</property>
<property>fbw/alpha-max-deg</property>
</quotient>
<value>0.275</value>
</pow>
</product>
</function>
</fcs_function>
@ -609,6 +593,16 @@
<!-- Vls -->
<switch name="/FMGC/internal/takeoff-latch">
<default value="/FMGC/internal/takeoff-latch"/>
<test logic="AND" value="0">
position/wow eq 0
fadec/eng-out eq 0
fadec/max-detent le 2
</test>
<test logic="AND" value="0">
position/wow eq 0
fadec/eng-out eq 1
fadec/max-detent le 4
</test>
<test logic="OR" value="1">
position/wow eq 1
/FMGC/internal/phase lt 2

View file

@ -1469,7 +1469,7 @@
<!-- Alpha Floor and Toga Lk -->
<switch name="fadec/alpha-floor-engage">
<default value="13"/>
<default value="9.5"/>
<test logic="OR" value="15">
/controls/flight/flaps-pos eq 1
/controls/flight/flaps-pos eq 2
@ -1484,16 +1484,16 @@
</switch>
<switch name="fadec/alpha-floor-disengage">
<default value="11"/>
<test logic="OR" value="13">
<default value="9"/>
<test logic="OR" value="14">
/controls/flight/flaps-pos eq 1
/controls/flight/flaps-pos eq 2
/controls/flight/flaps-pos eq 3
</test>
<test value="12">
<test value="13">
/controls/flight/flaps-pos eq 4
</test>
<test value="11">
<test value="12">
/controls/flight/flaps-pos eq 5
</test>
</switch>