April 17, 200323 yr Hi,I am working on a authrust function and I wonder what is the difference between K:AP_PANEL_MACH_HOLD and K:AP_PANEL_MACH_ON? The below code snippets seems to work bothbrgdsEugen(A:Autopilot throttle arm, bool) if{ (>K:AUTO_THROTTLE_ARM) } els{ (L:SPD-MACH, bool) if{ (>K:AUTO_THROTTLE_ARM) 1 (>K:AP_PANEL_SPEED_HOLD) } els{ (>K:AUTO_THROTTLE_ARM) 1 (>K:AP_PANEL_MACH_HOLD) }} (A:Autopilot throttle arm, bool) if{ (>K:AUTO_THROTTLE_ARM) } els{ (L:SPD-MACH, bool) if{ (>K:AUTO_THROTTLE_ARM) (>K:AP_PANEL_MACH_ON) } els{ (>K:AUTO_THROTTLE_ARM) (>K:AP_PANEL_SPEED_ON) } }
April 17, 200323 yr The list f K: events has evolved over the last years, so its no wonder if you find inconsistencies and duplettes. Apart from that I assume AP_PANEL_MACH_HOLD toggles the mach hold state and AP_PANEL_MACH_ON enables the mach hold state disregard of the previous state. You can even add 0 (>AP_PANEL_MACH_SET) for off and 1 (>AP_PANEL_MACH_SET) for on.Arne Bartels
Create an account or sign in to comment