fix aileron and spoilers when speedbrakes extended

This commit is contained in:
Joshua Davidson 2017-05-31 15:15:17 -04:00
parent 9fba14566e
commit d5cc716048

View file

@ -39,7 +39,16 @@
</equals> </equals>
</and> </and>
</condition> </condition>
<property>/surface-positions/speedbrake-pos-norm</property> <expression>
<sum>
<property>/surface-positions/speedbrake-pos-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>0.2</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-1.0</dep></entry>
</table>
</sum>
</expression>
<scale>-0.5</scale> <scale>-0.5</scale>
</input> </input>
<input> <input>
@ -128,7 +137,16 @@
</equals> </equals>
</and> </and>
</condition> </condition>
<property>/surface-positions/speedbrake-pos-norm</property> <expression>
<sum>
<property>/surface-positions/speedbrake-pos-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>-0.2</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
</table>
</sum>
</expression>
<scale>0.5</scale> <scale>0.5</scale>
</input> </input>
<input> <input>
@ -229,7 +247,7 @@
<sum> <sum>
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table> <table>
<property>/controls/flight/spoiler-left-fbw-cmd</property> <property>/controls/flight/roll-fbw</property>
<entry><ind>0.2</ind><dep> 0</dep></entry> <entry><ind>0.2</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry> <entry><ind>1.0</ind><dep>-0.5</dep></entry>
</table> </table>
@ -340,8 +358,8 @@
<sum> <sum>
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table> <table>
<property>/controls/flight/spoiler-right-fbw-cmd</property> <property>/controls/flight/roll-fbw</property>
<entry><ind> 0.2</ind><dep> 0</dep></entry> <entry><ind>-0.2</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry> <entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table> </table>
</sum> </sum>