Jump to content
Sign in to follow this  
Guest bartels

autothrust

Recommended Posts

Guest Eugen

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
Guest bartels

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...