Archived

This topic is now archived and is closed to further replies.

pve

Vertical bearing deviation

Recommended Posts

Hi all For XML fs9 Busy with descent profiles and am struggling with converting this formula for XML to get distance from VB track in feet. XTD =asin(sin(dist_AD)*sin(crs_AD-crs_AB)) Can anyone help.

Share this post


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

Are asin, sin, etc defined XML functions?

Share this post


Link to post
Share on other sites

Hi Paul,This should work:crs_AD crs_AB - sin dist_AD sin * asin (>YourLVar)Tom

Share this post


Link to post
Share on other sites

After paying more attention to your formula, sin(dist_AD) seems to be wrong because dist_AD is precisely a distance, not an angle. Are you sure that formula is right?BTW I use this one to obtain a certain crosstrack error:PLANE_TO_WPT distance (nmiles, feet)DESIRED TRACK (radians)PLANE_TO_BEARING (radians)- sin * (>LCrossTrackError) (nmiles,feet)Maybe you can take it as a reference.Tom

Share this post


Link to post
Share on other sites

Tom Got it @TotalDistRem 16 - 6076.13 * s1 0.064577 (A:Indicated Altitude, feet) @EndDecsentAlt - l1 / tg - sin * Thanks for the help Paul

Share this post


Link to post
Share on other sites