Control: Spoiler correction

This commit is contained in:
Joshua Davidson 2018-07-22 13:55:24 -04:00
parent 53527ba0e3
commit d53fd0122b
2 changed files with 11 additions and 59 deletions

View file

@ -103,15 +103,7 @@
<channel name="Spoiler L1"> <channel name="Spoiler L1">
<switch name="hydraulics/spoiler-l1/switch"> <switch name="hydraulics/spoiler-l1/switch">
<default value="hydraulics/spoiler-l1/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/green-psi ge 1500
spoilers/main-gear-and eq 0
</test>
<test logic="AND" value="0">
/systems/hydraulic/green-psi ge 1500
/systems/failures/spoiler-l1 eq 1
</test>
<test logic="AND" value="spoilers/main-cmd"> <test logic="AND" value="spoilers/main-cmd">
/systems/hydraulic/green-psi ge 1500 /systems/hydraulic/green-psi ge 1500
spoilers/main-gear-and eq 1 spoilers/main-gear-and eq 1
@ -201,11 +193,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-l2/switch"> <switch name="hydraulics/spoiler-l2/switch">
<default value="hydraulics/spoiler-l2/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/yellow-psi ge 1500
/systems/failures/spoiler-l2 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-l2/air-extended"> <test logic="AND" value="hydraulics/spoiler-l2/air-extended">
/systems/hydraulic/yellow-psi ge 1500 /systems/hydraulic/yellow-psi ge 1500
spoilers/main-gear-and eq 0 spoilers/main-gear-and eq 0
@ -276,11 +264,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-l3/switch"> <switch name="hydraulics/spoiler-l3/switch">
<default value="hydraulics/spoiler-l3/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/blue-psi ge 1500
/systems/failures/spoiler-l3 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-l3/extended"> <test logic="AND" value="hydraulics/spoiler-l3/extended">
/systems/hydraulic/blue-psi ge 1500 /systems/hydraulic/blue-psi ge 1500
/systems/failures/spoiler-l3 eq 0 /systems/failures/spoiler-l3 eq 0
@ -344,11 +328,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-l4/switch"> <switch name="hydraulics/spoiler-l4/switch">
<default value="hydraulics/spoiler-l4/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/yellow-psi ge 1500
/systems/failures/spoiler-l4 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-l4/extended"> <test logic="AND" value="hydraulics/spoiler-l4/extended">
/systems/hydraulic/yellow-psi ge 1500 /systems/hydraulic/yellow-psi ge 1500
/systems/failures/spoiler-l4 eq 0 /systems/failures/spoiler-l4 eq 0
@ -412,11 +392,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-l5/switch"> <switch name="hydraulics/spoiler-l5/switch">
<default value="hydraulics/spoiler-l5/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/green-psi ge 1500
/systems/failures/spoiler-l5 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-l5/ground-extended"> <test logic="AND" value="hydraulics/spoiler-l5/ground-extended">
/systems/hydraulic/green-psi ge 1500 /systems/hydraulic/green-psi ge 1500
spoilers/main-gear-and eq 1 spoilers/main-gear-and eq 1
@ -454,15 +430,7 @@
<channel name="Spoiler R1"> <channel name="Spoiler R1">
<switch name="hydraulics/spoiler-r1/switch"> <switch name="hydraulics/spoiler-r1/switch">
<default value="hydraulics/spoiler-r1/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/green-psi ge 1500
spoilers/main-gear-and eq 0
</test>
<test logic="AND" value="0">
/systems/hydraulic/green-psi ge 1500
/systems/failures/spoiler-r1 eq 1
</test>
<test logic="AND" value="spoilers/main-cmd"> <test logic="AND" value="spoilers/main-cmd">
/systems/hydraulic/green-psi ge 1500 /systems/hydraulic/green-psi ge 1500
spoilers/main-gear-and eq 1 spoilers/main-gear-and eq 1
@ -552,11 +520,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-r2/switch"> <switch name="hydraulics/spoiler-r2/switch">
<default value="hydraulics/spoiler-r2/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/yellow-psi ge 1500
/systems/failures/spoiler-r2 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-r2/air-extended"> <test logic="AND" value="hydraulics/spoiler-r2/air-extended">
/systems/hydraulic/yellow-psi ge 1500 /systems/hydraulic/yellow-psi ge 1500
spoilers/main-gear-and eq 0 spoilers/main-gear-and eq 0
@ -627,11 +591,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-r3/switch"> <switch name="hydraulics/spoiler-r3/switch">
<default value="hydraulics/spoiler-r3/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/blue-psi ge 1500
/systems/failures/spoiler-r3 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-r3/extended"> <test logic="AND" value="hydraulics/spoiler-r3/extended">
/systems/hydraulic/blue-psi ge 1500 /systems/hydraulic/blue-psi ge 1500
/systems/failures/spoiler-r3 eq 0 /systems/failures/spoiler-r3 eq 0
@ -695,11 +655,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-r4/switch"> <switch name="hydraulics/spoiler-r4/switch">
<default value="hydraulics/spoiler-r4/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/yellow-psi ge 1500
/systems/failures/spoiler-r4 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-r4/extended"> <test logic="AND" value="hydraulics/spoiler-r4/extended">
/systems/hydraulic/yellow-psi ge 1500 /systems/hydraulic/yellow-psi ge 1500
spoilers/main-gear-and eq 0 spoilers/main-gear-and eq 0
@ -764,11 +720,7 @@
</fcs_function> </fcs_function>
<switch name="hydraulics/spoiler-r5/switch"> <switch name="hydraulics/spoiler-r5/switch">
<default value="hydraulics/spoiler-r5/switch"/> <default value="0"/>
<test logic="AND" value="0">
/systems/hydraulic/green-psi ge 1500
/systems/failures/spoiler-r5 eq 1
</test>
<test logic="AND" value="hydraulics/spoiler-r5/ground-extended"> <test logic="AND" value="hydraulics/spoiler-r5/ground-extended">
/systems/hydraulic/green-psi ge 1500 /systems/hydraulic/green-psi ge 1500
spoilers/main-gear-and eq 1 spoilers/main-gear-and eq 1

View file

@ -1 +1 @@
4605 4606