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

View file

@ -1 +1 @@
4676 4677