1
0
Fork 0

FMGC: Fix broken calculation of some speeds

This commit is contained in:
Josh Davidson 2022-01-10 11:41:41 -05:00
parent 8efa965bde
commit a4a7d0a36e

View file

@ -244,17 +244,35 @@
</test> </test>
</switch> </switch>
<switch name="/FMGC/internal/vls-factor"> <switch name="/FMGC/internal/vls-factor-cmd">
<default value="1.23"/> <!-- 1.23 VS1g --> <default value="1.28"/> <!-- 1.28 VS1g -->
<test value="1.13"> <!-- 1.13 VS1g --> <test value="1.13"> <!-- 1.13 VS1g -->
/FMGC/internal/takeoff-latch eq 1 /FMGC/internal/takeoff-latch eq 1
</test> </test>
<test value="1.23"> <!-- 1.23 VS1g -->
fcs/flap-pos-deg ge 0.1
</test>
</switch> </switch>
<switch name="/FMGC/internal/vls-factor-rate">
<default value="10"/>
<test value="0.1">
position/wow eq 1
</test>
</switch>
<actuator name="/FMGC/internal/vls-factor">
<input>/FMGC/internal/vls-factor-cmd</input>
<rate_limit>/FMGC/internal/vls-factor-rate</rate_limit>
</actuator>
<fcs_function name="/FMGC/internal/vls"> <fcs_function name="/FMGC/internal/vls">
<function> <function>
<product> <product>
<difference>
<property>/FMGC/internal/vs1g-kts</property> <property>/FMGC/internal/vs1g-kts</property>
<value>5</value>
</difference>
<sum> <sum>
<property>/FMGC/internal/vls-factor</property> <property>/FMGC/internal/vls-factor</property>
<table> <table>
@ -306,20 +324,20 @@
<!-- Slat --> <!-- Slat -->
<pure_gain name="/FMGC/internal/slat"> <pure_gain name="/FMGC/internal/slat">
<input>/FMGC/internal/vs1g-conf-1</input> <input>/FMGC/internal/vs1g-conf-0</input>
<gain>1.22</gain> <gain>1.27</gain>
</pure_gain> </pure_gain>
<!-- Flap 2 --> <!-- Flap 2 -->
<pure_gain name="/FMGC/internal/flap-2"> <pure_gain name="/FMGC/internal/flap-2">
<input>/FMGC/internal/vs1g-conf-2</input> <input>/FMGC/internal/vs1g-conf-1f</input>
<gain>1.25</gain> <gain>1.22</gain>
</pure_gain> </pure_gain>
<!-- Flap 3 --> <!-- Flap 3 -->
<pure_gain name="/FMGC/internal/flap-3"> <pure_gain name="/FMGC/internal/flap-3">
<input>/FMGC/internal/vs1g-conf-3</input> <input>/FMGC/internal/vs1g-conf-2</input>
<gain>1.25</gain> <gain>1.22</gain>
</pure_gain> </pure_gain>
</channel> </channel>