1
0
Fork 0

Dave Perry: smooths transition to glideslope for CenturyIII autopilot

This commit is contained in:
jmt 2009-11-08 18:48:54 +00:00
parent 0fdbcd9048
commit 08aca14c8a

View file

@ -607,18 +607,18 @@ var gsArm = func {
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");
settimer(gsArm, 2);
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");
lockAltHold.setBoolValue(0);