Sign in to follow this  
Guest Charlie Chan

Problem With Non-rotating Element

Recommended Posts

Every thing in my code works except where I put two rotating element at the same axis point. One element is for the next waypoint bearing, A:GPS WP bearing. The other element is for the magnetic heading, A:Plane heading degrees magnetic. The next waypoint indicator appears at the correct heading at startup but it will not rotate. It makes no difference which element is the top element. I tried placing a spacer, non-moving element, between them but it did not help. If the compass indicator is removed, the next waypoint indicator works. I have tried every thing I can think of to make it work. Does anyone have an idea on how to make this to work. Here is the BAD CODE section of my work: (A:GPS WP bearing, Radians)(A:Plane heading degrees magnetic, radians) /-/%((A:Gps wp bearing, degrees))%!3d!%*%

Share this post


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

Hi,May be you can use this for rotation of the GPS WP bearing indicator:(A:GPS WP TRUE REQ HDG,radians) (A:GPS GROUND TRUE HEADING,radians) -Works ok in my HUD.Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Here is the code that made both of the elements work. These elements are the same size and share the same axis point (position) and have similar axis. I worked on this, off and on, for a month. I am surprised that no one else had an answer for me! (A:Plane heading degrees magnetic, radians) /-/(A:GPS WP BEARING, RADIANS)%((A:Gps wp bearing, degrees))%!3d!%*%

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