Jump to content
Sign in to follow this  
pve

Flightplan track closing angle FS9

Recommended Posts

Hi all (A:GPS WP DESIRED TRACK,degrees) (A:GPS WP BEARING,degrees) - abs Gives the angle deviation each side of flightplan track direct to the waypoint. This works great till the deviation angle passes through 360 and the bearing numbers increase 360. Is there another way of doing this.


Paul EGLD

Share this post


Link to post
Share on other sites

Hi Paul,Try:(A:GPS WP BEARING,degrees) (A:GPS WP DESIRED TRACK,degrees) - d 180 > if{ 360 r - /-/ }Tom

Share this post


Link to post
Share on other sites

Are you looking to present a course to steer?


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post
Share on other sites

Hi Ed It is part of code for 737 NG, LNAV engagement criteria in flight. To be on intercept course 90 degrees or less.


Paul EGLD

Share this post


Link to post
Share on other sites

Hello Tom Tried that but it still increases passing through 360 clockwise I tried this:- (A:GPS WP CROSS TRK, nmiles) (A:GPS WP DISTANCE, nmiles) / abs atg rddg It does what I want but is accurate to 30 degrees deviation then only increases to 45 degrees when it should be 90 abeam the waypoint. Don't know if I got the maths bit correct. Paul


Paul EGLD

Share this post


Link to post
Share on other sites

Paul,If you want to know whether you are on an intercept course to the flight path, why don't you use GPS WP TRACK ANGLE ERROR combined with GPS WP CROSS TRK distance?Tom

Share this post


Link to post
Share on other sites

Hello Tom Ah missed that! Got it working now, Maybe too much code but it does not use any bearing numbers. -90 -2 (A:GPS WP TRACK ANGLE ERROR,degrees) (A:GPS WP CROSS TRK, nmiles) (A:GPS WP DISTANCE, nmiles) / tg rddg /-/ s0 - rng & l0 0 < & if{ Thanks again Paul


Paul EGLD

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...