Sign in to follow this  
Guest bartels

autothrust

Recommended Posts

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) } }

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this