wheel ECAM -- failed LGCIU

This commit is contained in:
Jonathan Redpath 2016-12-12 17:49:38 +00:00
parent 97fd81e698
commit 8a7615cef2
7 changed files with 628 additions and 0 deletions

View file

@ -94,6 +94,632 @@
</and>
</condition>
</layer>
<layer>
<name>greentriangle2</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-green-triangle.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[0]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/mlgleft/isdownlock</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle2</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-red-triangle.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/mlgleftpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/mlgleftpos</property>
<value>0.01</value>
</greater-than>
</and>
</condition>
</layer>
<layer>
<name>greentriangle3</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-green-triangle.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>80</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[3]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/mlgright/isdownlock</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle3</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-red-triangle.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>80</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/mlgrightpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/mlgrightpos</property>
<value>0.01</value>
</greater-than>
</and>
</condition>
</layer>
<!-- ################################## Failed LGCIU #################################-->
<layer>
<name>greentriangle1fail</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-one-gr.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>80</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[1]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/nlg/isdownlock</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[0]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>greentriangle2fail</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-two-gr.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>80</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[1]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/nlg/isdownlock</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle1fail</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-one-rd.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>80</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/nlgpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/nlgpos</property>
<value>0.01</value>
</greater-than>
<equals>
<property>controls/lgciu[0]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle2fail</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-two-rd.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>80</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/nlgpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/nlgpos</property>
<value>0.01</value>
</greater-than>
<equals>
<property>controls/lgciu[1]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>greentriangle2onefailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-one-gr.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[0]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/mlgright/isdownlock</property>
<value>1</value>
</equals>
<equals>
<property>/controls/lgciu[0]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>greentriangle2twofailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-two-gr.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[0]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/mlgright/isdownlock</property>
<value>1</value>
</equals>
<equals>
<property>/controls/lgciu[1]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle2onefailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-one-rd.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/mlgleftpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/mlgleftpos</property>
<value>0.01</value>
</greater-than>
<equals>
<property>/controls/lgciu[0]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle2twofailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-two-rd.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/mlgleftpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/mlgleftpos</property>
<value>0.01</value>
</greater-than>
<equals>
<property>/controls/lgciu[1]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>greentriangle3onefailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-one-gr.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>80</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[3]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/mlgright/isdownlock</property>
<value>1</value>
</equals>
<equals>
<property>/controls/lgciu[0]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>greentriangle3twofailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-two-gr.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>80</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[3]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/mlgright/isdownlock</property>
<value>1</value>
</equals>
<equals>
<property>/controls/lgciu[1]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle3onefailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-one-rd.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>80</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/mlgrightpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/mlgrightpos</property>
<value>0.01</value>
</greater-than>
<equals>
<property>/controls/lgciu[0]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle3twofailed</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-amber-two-rd.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>80</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/mlgrightpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/mlgrightpos</property>
<value>0.01</value>
</greater-than>
<equals>
<property>/controls/lgciu[1]/fail</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<!-- ################################## Bottom #################################-->
<layer>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -23,6 +23,7 @@ var lgciu_one_init = func {
setprop("/controls/lgciu[0]/nws/nwsenabled",0); #0 = disabled 1 = enabled, must be disabled for push
setprop("/controls/lgciu[0]/inuse",1); #the LGCIUs switch between eachother on each gear cycle. eg if one LGCIU fails put the gear down and bring them up again to reset
setprop("/controls/lgciu[0]/hasbeenret",0); #has the gear been retracted with LGCIU1?
setprop("/controls/lgciu[0]/fail",0); #0 = no 1 = yes
}
var lgciu_two_init = func {
@ -46,6 +47,7 @@ var lgciu_two_init = func {
setprop("/controls/lgciu[1]/nws/nwsenabled",0); #0 = disabled 1 = enabled, must be disabled for push
setprop("/controls/lgciu[1]/inuse",0); #the LGCIUs switch between eachother on each gear cycle. eg if one LGCIU fails put the gear down and bring them up again to reset
setprop("/controls/lgciu[1]/hasbeenret",0); #has the gear been retracted with LGCIU2?
setprop("/controls/lgciu[1]/fail",0); #0 = no 1 = yes
}