Control: Slats and Flaps now dependent hydraulics

This commit is contained in:
Joshua Davidson 2018-10-18 16:21:28 -04:00
parent ccdc77e555
commit 359baef5f2
2 changed files with 34 additions and 25 deletions

View file

@ -1739,20 +1739,24 @@
<channel name="Flaps">
<kinematic name="rubbish/flap-pos-deg">
<pure_gain name="fcs/flap-pos-gain">
<input>/controls/flight/flaps</input>
<traverse>
<setting>
<position>0</position>
<time>0</time>
</setting>
<setting>
<position>35</position>
<time>30</time>
</setting>
</traverse>
<gain>30.0</gain>
</pure_gain>
<switch name="fcs/flap-pos-rate">
<default value="0.0"/>
<test logic="OR" value="0.85714285">
/systems/hydraulic/green-psi ge 1500
/systems/hydraulic/yellow-psi ge 1500
</test>
</switch>
<actuator name="rubbish/flap-pos-deg">
<input>fcs/flap-pos-gain</input>
<rate_limit>fcs/flap-pos-rate</rate_limit>
<output>fcs/flap-pos-deg</output>
</kinematic>
</actuator>
<aerosurface_scale name="rubbish/flap-pos-norm">
<input>fcs/flap-pos-deg</input>
@ -1771,20 +1775,25 @@
<channel name="Slats">
<kinematic name="rubbish/slat-pos-deg">
<pure_gain name="fcs/slat-pos-gain">
<input>/controls/flight/slats</input>
<traverse>
<setting>
<position>0</position>
<time>0</time>
</setting>
<setting>
<position>27</position>
<time>20</time>
</setting>
</traverse>
<gain>27.0</gain>
</pure_gain>
<switch name="fcs/slat-pos-rate">
<default value="0.0"/>
<test logic="OR" value="0.74074074">
/systems/hydraulic/blue-psi ge 1500
/systems/hydraulic/green-psi ge 1500
/systems/hydraulic/yellow-psi ge 1500
</test>
</switch>
<actuator name="rubbish/slat-pos-deg">
<input>fcs/slat-pos-gain</input>
<rate_limit>fcs/slat-pos-rate</rate_limit>
<output>fcs/slat-pos-deg</output>
</kinematic>
</actuator>
<aerosurface_scale name="rubbish/slat-pos-norm">
<input>fcs/slat-pos-deg</input>

View file

@ -1 +1 @@
4676
4677