improve FBW, make MAN RAT button work in Hydraulic panel, make rat work properly
This commit is contained in:
parent
2bb9b41156
commit
1a6fa687f4
5 changed files with 115 additions and 65 deletions
|
@ -1010,6 +1010,24 @@
|
|||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>RAT MAN pick</name>
|
||||
<type>pick</type>
|
||||
<object-name>RATMan</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/controls/hydraulic/rat-man</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("/sim/sounde/btn1", 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Blue Elec Pump pick</name>
|
||||
<type>pick</type>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name>jetBlue</name>
|
||||
<name>JetBlue Airways</name>
|
||||
<texture>Liveries/A321/IAE/jetBlue.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
|
|
|
@ -191,6 +191,7 @@
|
|||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/green-psi</property>
|
||||
<value>1500</value>
|
||||
|
@ -199,10 +200,17 @@
|
|||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/yellow-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
</or>
|
||||
<not-equals>
|
||||
<property>/controls/flight/speedbrake-lever</property>
|
||||
|
@ -243,6 +251,7 @@
|
|||
<input>
|
||||
<condition>
|
||||
<or>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/green-psi</property>
|
||||
<value>1500</value>
|
||||
|
@ -251,10 +260,17 @@
|
|||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/yellow-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
<expression>
|
||||
|
@ -275,7 +291,7 @@
|
|||
<type>noise-spike</type>
|
||||
<input>/controls/flight/spoiler-left-cmd</input>
|
||||
<output>/controls/flight/spoiler-left</output>
|
||||
<max-rate-of-change>1.5</max-rate-of-change>
|
||||
<max-rate-of-change>1.0</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
|
@ -286,6 +302,7 @@
|
|||
<condition>
|
||||
<and>
|
||||
<or>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/green-psi</property>
|
||||
<value>1500</value>
|
||||
|
@ -294,10 +311,17 @@
|
|||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/yellow-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
</or>
|
||||
<not-equals>
|
||||
<property>/controls/flight/speedbrake-lever</property>
|
||||
|
@ -338,6 +362,7 @@
|
|||
<input>
|
||||
<condition>
|
||||
<or>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/green-psi</property>
|
||||
<value>1500</value>
|
||||
|
@ -346,10 +371,17 @@
|
|||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/blue-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
<greater-than-equals>
|
||||
<property>/systems/hydraulic/yellow-psi</property>
|
||||
<value>1500</value>
|
||||
</greater-than-equals>
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
<expression>
|
||||
|
@ -370,7 +402,7 @@
|
|||
<type>noise-spike</type>
|
||||
<input>/controls/flight/spoiler-right-cmd</input>
|
||||
<output>/controls/flight/spoiler-right</output>
|
||||
<max-rate-of-change>1.5</max-rate-of-change>
|
||||
<max-rate-of-change>1.0</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
|
|
|
@ -106,11 +106,11 @@
|
|||
<property>/controls/flight/aileron-fbw-cmd</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>0.14</Kp>
|
||||
<Kp>0.12</Kp>
|
||||
<beta>1</beta>
|
||||
<alpha>0.1</alpha>
|
||||
<gamma>0</gamma>
|
||||
<Ti>5</Ti>
|
||||
<Ti>10</Ti>
|
||||
<Td>0.005</Td>
|
||||
<u_min>-1</u_min>
|
||||
<u_max>1</u_max>
|
||||
|
@ -247,11 +247,11 @@
|
|||
<property>/controls/flight/elevator-fbw-cmd</property>
|
||||
</output>
|
||||
<config>
|
||||
<Kp>-0.25</Kp>
|
||||
<Kp>-0.22</Kp>
|
||||
<beta>1</beta>
|
||||
<alpha>0.1</alpha>
|
||||
<gamma>0</gamma>
|
||||
<Ti>5</Ti>
|
||||
<Ti>10</Ti>
|
||||
<Td>0.005</Td>
|
||||
<u_min>-1</u_min>
|
||||
<u_max>1</u_max>
|
||||
|
|
|
@ -39,17 +39,17 @@
|
|||
<independentVar lookup="row">/controls/flight/aileron</independentVar>
|
||||
<tableData>
|
||||
-1.0 -0.1
|
||||
-0.7 -0.05
|
||||
-0.5 -0.02
|
||||
-0.3 -0.011
|
||||
-0.15 -0.004
|
||||
-0.05 -0.0015
|
||||
-0.7 -0.07
|
||||
-0.5 -0.045
|
||||
-0.3 -0.022
|
||||
-0.15 -0.008
|
||||
-0.05 -0.003
|
||||
0.00 0.000
|
||||
0.05 0.0015
|
||||
0.15 0.004
|
||||
0.3 0.011
|
||||
0.5 0.02
|
||||
0.7 0.05
|
||||
0.05 0.003
|
||||
0.15 0.008
|
||||
0.3 0.022
|
||||
0.5 0.045
|
||||
0.7 0.07
|
||||
1.0 0.1
|
||||
</tableData>
|
||||
</table>
|
||||
|
|
Reference in a new issue