A3XX: Automatically limit steering over 30kts

This commit is contained in:
Joshua Davidson 2017-08-29 08:35:15 -04:00
parent aae24f0655
commit a80937e966

View file

@ -313,38 +313,20 @@
<channel name="Tiller"> <channel name="Tiller">
<switch name="/controls/gear/tiller-disabled">
<default value="0"/>
<test logic="AND" value="1">
/controls/gear/tiller-enabled == 0
</test>
</switch>
<fcs_function name="Nose Wheel Steering 0"> <fcs_function name="Nose Wheel Steering 0">
<function name="fcs/steer-nose-deg[0]"> <function name="fcs/steer-nose-deg[0]">
<description>Steering command for nose gear</description> <description>Steering command for nose gear</description>
<sum> <product>
<product> <table>
<table> <independentVar lookup="row">/velocities/groundspeed-kt</independentVar>
<independentVar lookup="row">/controls/gear/tiller-cmd-norm</independentVar> <independentVar lookup="column">/controls/flight/rudder</independentVar>
<independentVar lookup="column">/controls/flight/rudder</independentVar> <tableData>
<tableData> -1 0 1
-1 0 1 30.000 -70 0 70
-1 -70 -70 -70 30.001 -7 0 7
0 -7 0 7 </tableData>
1 70 70 70 </table>
</tableData> </product>
</table>
<property>/controls/gear/tiller-enabled</property>
</product>
<product>
<product>
<property>/controls/flight/rudder</property>
<value>70</value>
</product>
<property>/controls/gear/tiller-disabled</property>
</product>
</sum>
</function> </function>
</fcs_function> </fcs_function>