Skip to content

Commit

Permalink
fix(fcu): disable qfe mode (#8527)
Browse files Browse the repository at this point in the history
  • Loading branch information
markszutor committed Feb 28, 2024
1 parent 4844268 commit 7eaaa29
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 84 deletions.
28 changes: 7 additions & 21 deletions hsim-a318ceo/src/behavior/src/A32NX_Interior_FCU.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<ANIMTIP_1>TT:COCKPIT.TOOLTIPS.AUTOPILOT_PANEL_BARO_KNOB_DECREASE</ANIMTIP_1>
<ANIMTIP_1_ON_CURSOR>TurnLeft</ANIMTIP_1_ON_CURSOR>
<BARO_ID>#ID#</BARO_ID>
<MODE_BARO>0</MODE_BARO>
<MODE_QFE>0</MODE_QFE>
<MODE_QNH>1</MODE_QNH>
<MODE_STD_BARO>2</MODE_STD_BARO>
<MODE_STD_QFE>2</MODE_STD_QFE>
<MODE_STD_QNH>3</MODE_STD_QNH>
<NODE_ID>AUTOPILOT_Knob_Baro_#ID##SUFFIX_ID#</NODE_ID>
<PART_ID>AUTOPILOT_Knob_Baro</PART_ID>
Expand All @@ -46,7 +46,7 @@
<Component ID="#NODE_ID#" Node="#NODE_ID#">
<UseTemplate Name="ASOBO_GT_Knob_Infinite_PushPull">
<ANTICLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) -- 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -56,7 +56,7 @@
</ANTICLOCKWISE_CODE>

<CLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) ++ 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -66,31 +66,17 @@
</CLOCKWISE_CODE>

<PULL_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_BARO# == if{
#MODE_STD_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_QNH# == if{
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PULL_CODE>
<PUSH_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# == if{
#MODE_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == if{
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) ! (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PUSH_CODE>

<CENTER_RADIUS>0</CENTER_RADIUS>
<COUNT>36</COUNT>
<OVERRIDE_PUSH_ANIM_CODE>
0 100
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == or ?
50
(O:_PushAnimVar) ?
Expand Down
28 changes: 7 additions & 21 deletions hsim-a319ceo/src/behavior/src/A32NX_Interior_FCU.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<ANIMTIP_1>TT:COCKPIT.TOOLTIPS.AUTOPILOT_PANEL_BARO_KNOB_DECREASE</ANIMTIP_1>
<ANIMTIP_1_ON_CURSOR>TurnLeft</ANIMTIP_1_ON_CURSOR>
<BARO_ID>#ID#</BARO_ID>
<MODE_BARO>0</MODE_BARO>
<MODE_QFE>0</MODE_QFE>
<MODE_QNH>1</MODE_QNH>
<MODE_STD_BARO>2</MODE_STD_BARO>
<MODE_STD_QFE>2</MODE_STD_QFE>
<MODE_STD_QNH>3</MODE_STD_QNH>
<NODE_ID>AUTOPILOT_Knob_Baro_#ID##SUFFIX_ID#</NODE_ID>
<PART_ID>AUTOPILOT_Knob_Baro</PART_ID>
Expand All @@ -46,7 +46,7 @@
<Component ID="#NODE_ID#" Node="#NODE_ID#">
<UseTemplate Name="ASOBO_GT_Knob_Infinite_PushPull">
<ANTICLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) -- 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -56,7 +56,7 @@
</ANTICLOCKWISE_CODE>

<CLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) ++ 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -66,31 +66,17 @@
</CLOCKWISE_CODE>

<PULL_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_BARO# == if{
#MODE_STD_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_QNH# == if{
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PULL_CODE>
<PUSH_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# == if{
#MODE_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == if{
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) ! (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PUSH_CODE>

<CENTER_RADIUS>0</CENTER_RADIUS>
<COUNT>36</COUNT>
<OVERRIDE_PUSH_ANIM_CODE>
0 100
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == or ?
50
(O:_PushAnimVar) ?
Expand Down
28 changes: 7 additions & 21 deletions hsim-a320ceo/src/behavior/src/A32NX_Interior_FCU.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<ANIMTIP_1>TT:COCKPIT.TOOLTIPS.AUTOPILOT_PANEL_BARO_KNOB_DECREASE</ANIMTIP_1>
<ANIMTIP_1_ON_CURSOR>TurnLeft</ANIMTIP_1_ON_CURSOR>
<BARO_ID>#ID#</BARO_ID>
<MODE_BARO>0</MODE_BARO>
<MODE_QFE>0</MODE_QFE>
<MODE_QNH>1</MODE_QNH>
<MODE_STD_BARO>2</MODE_STD_BARO>
<MODE_STD_QFE>2</MODE_STD_QFE>
<MODE_STD_QNH>3</MODE_STD_QNH>
<NODE_ID>AUTOPILOT_Knob_Baro_#ID##SUFFIX_ID#</NODE_ID>
<PART_ID>AUTOPILOT_Knob_Baro</PART_ID>
Expand All @@ -46,7 +46,7 @@
<Component ID="#NODE_ID#" Node="#NODE_ID#">
<UseTemplate Name="ASOBO_GT_Knob_Infinite_PushPull">
<ANTICLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) -- 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -56,7 +56,7 @@
</ANTICLOCKWISE_CODE>

<CLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) ++ 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -66,31 +66,17 @@
</CLOCKWISE_CODE>

<PULL_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_BARO# == if{
#MODE_STD_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_QNH# == if{
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PULL_CODE>
<PUSH_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# == if{
#MODE_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == if{
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) ! (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PUSH_CODE>

<CENTER_RADIUS>0</CENTER_RADIUS>
<COUNT>36</COUNT>
<OVERRIDE_PUSH_ANIM_CODE>
0 100
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == or ?
50
(O:_PushAnimVar) ?
Expand Down
28 changes: 7 additions & 21 deletions hsim-a321neo/src/behavior/src/A32NX_Interior_FCU.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<ANIMTIP_1>TT:COCKPIT.TOOLTIPS.AUTOPILOT_PANEL_BARO_KNOB_DECREASE</ANIMTIP_1>
<ANIMTIP_1_ON_CURSOR>TurnLeft</ANIMTIP_1_ON_CURSOR>
<BARO_ID>#ID#</BARO_ID>
<MODE_BARO>0</MODE_BARO>
<MODE_QFE>0</MODE_QFE>
<MODE_QNH>1</MODE_QNH>
<MODE_STD_BARO>2</MODE_STD_BARO>
<MODE_STD_QFE>2</MODE_STD_QFE>
<MODE_STD_QNH>3</MODE_STD_QNH>
<NODE_ID>AUTOPILOT_Knob_Baro_#ID##SUFFIX_ID#</NODE_ID>
<PART_ID>AUTOPILOT_Knob_Baro</PART_ID>
Expand All @@ -46,7 +46,7 @@
<Component ID="#NODE_ID#" Node="#NODE_ID#">
<UseTemplate Name="ASOBO_GT_Knob_Infinite_PushPull">
<ANTICLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) -- 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -56,7 +56,7 @@
</ANTICLOCKWISE_CODE>

<CLOCKWISE_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# != (L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# != and if{
(L:XMLVAR_Baro_Selector_HPA_#BARO_ID#) if{
#BARO_ID# (A:KOHLSMAN SETTING MB:1, mbars) ++ 16 * (&gt;K:2:KOHLSMAN_SET)
} els{
Expand All @@ -66,31 +66,17 @@
</CLOCKWISE_CODE>

<PULL_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_BARO# == if{
#MODE_STD_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_QNH# == if{
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_STD_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PULL_CODE>
<PUSH_CODE>
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# == if{
#MODE_BARO# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == if{
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
} els{
(L:XMLVAR_Baro#BARO_ID#_Mode) ! (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
}
}
#MODE_QNH# (&gt;L:XMLVAR_Baro#BARO_ID#_Mode)
</PUSH_CODE>

<CENTER_RADIUS>0</CENTER_RADIUS>
<COUNT>36</COUNT>
<OVERRIDE_PUSH_ANIM_CODE>
0 100
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_BARO# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QFE# ==
(L:XMLVAR_Baro#BARO_ID#_Mode) #MODE_STD_QNH# == or ?
50
(O:_PushAnimVar) ?
Expand Down

0 comments on commit 7eaaa29

Please sign in to comment.