Dave Perry: smooths transition to glideslope for CenturyIII autopilot
This commit is contained in:
parent
0fdbcd9048
commit
08aca14c8a
1 changed files with 4 additions and 4 deletions
|
@ -607,18 +607,18 @@ var gsArm = func {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
##
|
##
|
||||||
# If the deflection is more than 0.2 degrees wait 2 seconds and check again.
|
# If the deflection is more than 0.1 degrees wait 2 seconds and check again.
|
||||||
##
|
##
|
||||||
if (abs(deviation) > 0.2)
|
if (abs(deviation) > 0.1)
|
||||||
{
|
{
|
||||||
#print("deviation");
|
#print("deviation");
|
||||||
settimer(gsArm, 2);
|
settimer(gsArm, 2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
##
|
##
|
||||||
# If the deviation is less than 0.1 then activate the GS pitch mode.
|
# The deviation is less than 0.1 then activate the GS pitch mode.
|
||||||
##
|
##
|
||||||
elsif (abs(deviation) < 0.2)
|
else
|
||||||
{
|
{
|
||||||
#print("capture");
|
#print("capture");
|
||||||
lockAltHold.setBoolValue(0);
|
lockAltHold.setBoolValue(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue