VC: Make pedestal animations smooth
This commit is contained in:
parent
db4076eeaf
commit
e0d9c90c81
3 changed files with 73 additions and 13 deletions
|
@ -630,7 +630,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>ParkBrk</object-name>
|
<object-name>ParkBrk</object-name>
|
||||||
<property>controls/gear/brake-parking</property>
|
<property>fdm/jsbsim/fcs/brake-lever</property>
|
||||||
<factor>90</factor>
|
<factor>90</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>ParkBrk.axis</object-name>
|
<object-name>ParkBrk.axis</object-name>
|
||||||
|
@ -1640,7 +1640,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>Lcutoff</object-name>
|
<object-name>Lcutoff</object-name>
|
||||||
<property>controls/engines/engine[0]/cutoff-switch</property>
|
<property>fdm/jsbsim/fcs/engine-cutoff[0]</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep> 0</dep></entry>
|
<entry><ind>0</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>1</ind><dep>-70</dep></entry>
|
<entry><ind>1</ind><dep>-70</dep></entry>
|
||||||
|
@ -1666,7 +1666,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>Rcutoff</object-name>
|
<object-name>Rcutoff</object-name>
|
||||||
<property>controls/engines/engine[1]/cutoff-switch</property>
|
<property>fdm/jsbsim/fcs/engine-cutoff[1]</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep> 0</dep></entry>
|
<entry><ind>0</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>1</ind><dep>-70</dep></entry>
|
<entry><ind>1</ind><dep>-70</dep></entry>
|
||||||
|
@ -4520,7 +4520,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>FlapsLever</object-name>
|
<object-name>FlapsLever</object-name>
|
||||||
<property>controls/flight/flap-lever</property>
|
<property>fdm/jsbsim/fcs/flap-lever</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep> 0</dep></entry>
|
<entry><ind>0</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>1</ind><dep>14</dep></entry>
|
<entry><ind>1</ind><dep>14</dep></entry>
|
||||||
|
@ -5567,7 +5567,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>SpdBrk</object-name>
|
<object-name>SpdBrk</object-name>
|
||||||
<property>fdm/jsbsim/spoilers/speedbrake-nul</property>
|
<property>fdm/jsbsim/spoilers/main-lever</property>
|
||||||
<factor>45</factor>
|
<factor>45</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>SpdBrk.axis</object-name>
|
<object-name>SpdBrk.axis</object-name>
|
||||||
|
@ -5577,7 +5577,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>SpdBrk</object-name>
|
<object-name>SpdBrk</object-name>
|
||||||
<property>controls/flight/speedbrake-arm</property>
|
<property>fdm/jsbsim/spoilers/lever-arm</property>
|
||||||
<factor>-0.006</factor>
|
<factor>-0.006</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>1</x>
|
<x>1</x>
|
||||||
|
@ -5589,7 +5589,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>SpdBrk</object-name>
|
<object-name>SpdBrk</object-name>
|
||||||
<property>controls/flight/speedbrake-arm</property>
|
<property>fdm/jsbsim/spoilers/lever-arm</property>
|
||||||
<factor>0.006</factor>
|
<factor>0.006</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
|
@ -5878,7 +5878,7 @@
|
||||||
<name>Engine 1 throttle lever</name>
|
<name>Engine 1 throttle lever</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>thr_l</object-name>
|
<object-name>thr_l</object-name>
|
||||||
<property>controls/engines/engine[0]/throttle-lever</property>
|
<property>fdm/jsbsim/fcs/throttle-lever[0]</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0.00000</ind><dep> 0</dep></entry>
|
<entry><ind>0.00000</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>0.00999</ind><dep> 0</dep></entry>
|
<entry><ind>0.00999</ind><dep> 0</dep></entry>
|
||||||
|
@ -5903,7 +5903,7 @@
|
||||||
<name>Engine 1 throttle lever rev</name>
|
<name>Engine 1 throttle lever rev</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>thr_l</object-name>
|
<object-name>thr_l</object-name>
|
||||||
<property>controls/engines/engine[0]/reverser</property>
|
<property>fdm/jsbsim/fcs/reverse-lever[0]</property>
|
||||||
<factor>-3.5</factor>
|
<factor>-3.5</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>trim.axis</object-name>
|
<object-name>trim.axis</object-name>
|
||||||
|
@ -5913,7 +5913,7 @@
|
||||||
<name>Engine 1 throttle lever rev 2</name>
|
<name>Engine 1 throttle lever rev 2</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>thr_l</object-name>
|
<object-name>thr_l</object-name>
|
||||||
<property>controls/engines/engine[0]/throttle-rev</property>
|
<property>fdm/jsbsim/fcs/reverse-thr-lever[0]</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0.00</ind><dep> 0</dep></entry>
|
<entry><ind>0.00</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>0.50</ind><dep>-20</dep></entry>
|
<entry><ind>0.50</ind><dep>-20</dep></entry>
|
||||||
|
@ -5953,7 +5953,7 @@
|
||||||
<name>Engine 2 throttle lever</name>
|
<name>Engine 2 throttle lever</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>thr_r</object-name>
|
<object-name>thr_r</object-name>
|
||||||
<property>controls/engines/engine[1]/throttle-lever</property>
|
<property>fdm/jsbsim/fcs/throttle-lever[1]</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0.00000</ind><dep> 0</dep></entry>
|
<entry><ind>0.00000</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>0.00999</ind><dep> 0</dep></entry>
|
<entry><ind>0.00999</ind><dep> 0</dep></entry>
|
||||||
|
@ -5978,7 +5978,7 @@
|
||||||
<name>Engine 2 throttle lever rev</name>
|
<name>Engine 2 throttle lever rev</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>thr_r</object-name>
|
<object-name>thr_r</object-name>
|
||||||
<property>controls/engines/engine[1]/reverser</property>
|
<property>fdm/jsbsim/fcs/reverse-lever[1]</property>
|
||||||
<factor>-3.5</factor>
|
<factor>-3.5</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>trim.axis</object-name>
|
<object-name>trim.axis</object-name>
|
||||||
|
@ -5988,7 +5988,7 @@
|
||||||
<name>Engine 2 throttle lever rev 2</name>
|
<name>Engine 2 throttle lever rev 2</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>thr_r</object-name>
|
<object-name>thr_r</object-name>
|
||||||
<property>controls/engines/engine[1]/throttle-rev</property>
|
<property>fdm/jsbsim/fcs/reverse-thr-lever[1]</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0.00</ind><dep> 0</dep></entry>
|
<entry><ind>0.00</ind><dep> 0</dep></entry>
|
||||||
<entry><ind>0.50</ind><dep>-20</dep></entry>
|
<entry><ind>0.50</ind><dep>-20</dep></entry>
|
||||||
|
|
|
@ -1691,11 +1691,56 @@
|
||||||
<output>/engines/engine[1]/n2-actual</output>
|
<output>/engines/engine[1]/n2-actual</output>
|
||||||
<output>/engines/engine[4]/n2</output>
|
<output>/engines/engine[4]/n2</output>
|
||||||
</lag_filter>
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/throttle-lever[0]">
|
||||||
|
<input>/controls/engines/engine[0]/throttle-lever</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/throttle-lever[1]">
|
||||||
|
<input>/controls/engines/engine[1]/throttle-lever</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/reverse-lever[0]">
|
||||||
|
<input>/controls/engines/engine[0]/reverser</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/reverse-lever[1]">
|
||||||
|
<input>/controls/engines/engine[1]/reverser</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/reverse-thr-lever[0]">
|
||||||
|
<input>/controls/engines/engine[0]/throttle-rev</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/reverse-thr-lever[1]">
|
||||||
|
<input>/controls/engines/engine[1]/throttle-rev</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/engine-cutoff[0]">
|
||||||
|
<input>/controls/engines/engine[0]/cutoff-switch</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
|
<lag_filter name="fcs/engine-cutoff[1]">
|
||||||
|
<input>/controls/engines/engine[1]/cutoff-switch</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
|
|
||||||
<channel name="SFCC">
|
<channel name="SFCC">
|
||||||
|
|
||||||
|
<lag_filter name="fcs/flap-lever">
|
||||||
|
<input>/controls/flight/flap-lever</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
<switch name="fcs/sfcc/unit1-avail">
|
<switch name="fcs/sfcc/unit1-avail">
|
||||||
<default value="0"/>
|
<default value="0"/>
|
||||||
<test logic="OR" value="1">
|
<test logic="OR" value="1">
|
||||||
|
@ -1905,6 +1950,11 @@
|
||||||
|
|
||||||
<channel name="Brakes">
|
<channel name="Brakes">
|
||||||
|
|
||||||
|
<lag_filter name="fcs/brake-lever">
|
||||||
|
<input>/controls/gear/brake-parking</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
<pure_gain name="/services/chokes/nose-half">
|
<pure_gain name="/services/chokes/nose-half">
|
||||||
<input>/services/chokes/nose</input>
|
<input>/services/chokes/nose</input>
|
||||||
<gain>0.5</gain>
|
<gain>0.5</gain>
|
||||||
|
|
|
@ -84,6 +84,11 @@
|
||||||
</function>
|
</function>
|
||||||
</fcs_function>
|
</fcs_function>
|
||||||
|
|
||||||
|
<lag_filter name="spoilers/main-lever">
|
||||||
|
<input>spoilers/speedbrake-nul</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
<summer name="spoilers/main-cmd">
|
<summer name="spoilers/main-cmd">
|
||||||
<input>spoilers/speedbrake-nul</input>
|
<input>spoilers/speedbrake-nul</input>
|
||||||
<input>spoilers/auto-speedbrake-cmd</input>
|
<input>spoilers/auto-speedbrake-cmd</input>
|
||||||
|
@ -93,6 +98,11 @@
|
||||||
</clipto>
|
</clipto>
|
||||||
<output>fbw/spoiler-output</output>
|
<output>fbw/spoiler-output</output>
|
||||||
</summer>
|
</summer>
|
||||||
|
|
||||||
|
<lag_filter name="spoilers/lever-arm">
|
||||||
|
<input>/controls/flight/speedbrake-arm</input>
|
||||||
|
<c1>20</c1>
|
||||||
|
</lag_filter>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
|
|
||||||
|
|
Reference in a new issue