August 4, 200619 yr you can get angle,distance,and bearing to next way point or to a nav station. seems like someone would have used pythagoras to id the next wp on a hud...but i cant find one to steal....ummm borrow.perhaps a generous soul will show us remedial math types how it is done?
August 4, 200619 yr Hi,This is experimental.It moves the next waypoint and ident to the HUD center: ("center of screen")(A:GPS IS ACTIVE WAY POINT,bool) (A:GPS DRIVES NAV1,bool) and %((A:GPS WP NEXT ID,string))%!s!% (A:GPS WP DISTANCE,nmiles) (>L:DME,nmiles) (A:GPS WP TRUE REQ HDG,radians) (A:GPS GROUND TRUE HEADING,radians) - pi 2 / + pi + (>L:rad,radians) (L:rad,radians) sin (L:DME,nmiles) *(L:rad,radians) cos (L:DME,nmiles) * (L:rad,radians) sin (L:DME,nmiles) * (L:rad,radians) cos (L:DME,nmiles) * Hope you can do something with it,Jan"Beatus ille qui procul negotiis..." Jan "Beatus ille qui procul negotiis..."
August 4, 200619 yr wow! thanks.i will give it a test run...i was thinking i needed to acount for pitch and stuff but while reading your code i realized all it needs is ill respond on results, suprised it did not get more attention.you are the guru!
Create an account or sign in to comment