1
0
Fork 0

FMGC: Fix A/THR output not clamped

This commit is contained in:
Josh Davidson 2021-04-23 19:37:38 -04:00
parent fe59ef9747
commit 50e3064aaf

View file

@ -942,6 +942,15 @@
</test> </test>
</switch> </switch>
<pure_gain name="fadec/athr/output">
<input>fadec/athr/cmd</input>
<gain>1.0</gain>
<clipto>
<min>fadec/limit/idle-norm</min>
<max>fadec/athr/max</max>
</clipto>
</pure_gain>
<!-- Throttle Finals --> <!-- Throttle Finals -->
<pure_gain name="fadec/control-1/throttle-clamped"> <pure_gain name="fadec/control-1/throttle-clamped">
<input>fadec/control-1/lever-norm</input> <input>fadec/control-1/lever-norm</input>
@ -957,7 +966,7 @@
<!--test value="fadec/reverse-1/throttle-rev-cmd"> <!--test value="fadec/reverse-1/throttle-rev-cmd">
/controls/engines/engine[0]/reverse-lever gt 0 /controls/engines/engine[0]/reverse-lever gt 0
</test--> </test-->
<test value="fadec/athr/cmd"> <test value="fadec/athr/output">
fadec/athr/active eq 1 fadec/athr/active eq 1
</test> </test>
<test value="fadec/control-1/throttle-clamped"> <!-- Last --> <test value="fadec/control-1/throttle-clamped"> <!-- Last -->
@ -985,7 +994,7 @@
<!--test value="fadec/reverse-2/throttle-rev-cmd"> <!--test value="fadec/reverse-2/throttle-rev-cmd">
/controls/engines/engine[1]/reverse-lever gt 0 /controls/engines/engine[1]/reverse-lever gt 0
</test--> </test-->
<test value="fadec/athr/cmd"> <test value="fadec/athr/output">
fadec/athr/active eq 1 fadec/athr/active eq 1
</test> </test>
<test value="fadec/control-2/throttle-clamped"> <!-- Last --> <test value="fadec/control-2/throttle-clamped"> <!-- Last -->