System: Cleanup ECAM

This commit is contained in:
Joshua Davidson 2019-03-07 20:43:38 -05:00
parent be7bf73530
commit 44b31b54ea
8 changed files with 2 additions and 40 deletions

View file

@ -138,7 +138,6 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<system file="a320-fcs"/> <system file="a320-fcs"/>
<system file="a320-spoiler"/> <system file="a320-spoiler"/>
<system file="a320-lights"/> <system file="a320-lights"/>
<system file="a320-ecam"/>
<flight_control name="none"/> <flight_control name="none"/>

View file

@ -138,7 +138,6 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<system file="a320-fcs"/> <system file="a320-fcs"/>
<system file="a320-spoiler"/> <system file="a320-spoiler"/>
<system file="a320-lights"/> <system file="a320-lights"/>
<system file="a320-ecam"/>
<flight_control name="none"/> <flight_control name="none"/>

View file

@ -138,7 +138,6 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<system file="a320-fcs"/> <system file="a320-fcs"/>
<system file="a320-spoiler"/> <system file="a320-spoiler"/>
<system file="a320-lights"/> <system file="a320-lights"/>
<system file="a320-ecam"/>
<flight_control name="none"/> <flight_control name="none"/>
<aerodynamics file="Systems/a320-aerodynamics.xml"/> <aerodynamics file="Systems/a320-aerodynamics.xml"/>

View file

@ -138,7 +138,6 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<system file="a320-fcs"/> <system file="a320-fcs"/>
<system file="a320-spoiler"/> <system file="a320-spoiler"/>
<system file="a320-lights"/> <system file="a320-lights"/>
<system file="a320-ecam"/>
<flight_control name="none"/> <flight_control name="none"/>

View file

@ -138,7 +138,6 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<system file="a320-fcs"/> <system file="a320-fcs"/>
<system file="a320-spoiler"/> <system file="a320-spoiler"/>
<system file="a320-lights"/> <system file="a320-lights"/>
<system file="a320-ecam"/>
<flight_control name="none"/> <flight_control name="none"/>

View file

@ -4,7 +4,7 @@
# props.nas: # props.nas:
var dualFailNode = props.globals.getNode("/fdm/jsbsim/systems/ecam/dual-failure-enabled", 1); var dualFailNode = props.globals.initNode("/ECAM/dual-failure-enabled", 0 "BOOL");
var phaseNode = props.globals.getNode("/ECAM/warning-phase", 1); var phaseNode = props.globals.getNode("/ECAM/warning-phase", 1);
var leftMsgNode = props.globals.getNode("/ECAM/left-msg", 1); var leftMsgNode = props.globals.getNode("/ECAM/left-msg", 1);
var apWarn = props.globals.getNode("/it-autoflight/output/ap-warning", 1); var apWarn = props.globals.getNode("/it-autoflight/output/ap-warning", 1);

View file

@ -1,33 +0,0 @@
<!-- Airbus A320 ECAM -->
<!-- Jonathan Redpath -->
<!--
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
<system name="A320: ECAM">
<channel name="Dual Failure">
<switch name="systems/ecam/dual-failure-enabled">
<default value="0"/>
<!--<test logic="AND" value="1">
position/wow eq 0
/engines/engine[0]/n2 lt 60.9
/engines/engine[1]/n2 lt 60.9
</test> IAE
<test logic="AND" value="1">
position/wow eq 0
/engines/engine[0]/n2 lt 61.2
/engines/engine[1]/n2 lt 61.2
</test>
<test logic="AND" value="1">
position/wow eq 0
fcs/engine-cutoff[0] eq 1
fcs/engine-cutoff[1] eq 1
</test>-->
</switch>
</channel>
</system>

View file

@ -1 +1 @@
4776 4777