Jump to content
Sign in to follow this  
Guest Ron Freimuth

Some questions about a HUD type gauge

Recommended Posts

Hi,Your code: (P:Zulu time, seconds) 1 % 2 * flr if{ (A:Airspeed select indicated or true, knots) (>L:Airspeed t1, number) } els{ (A:Airspeed select indicated or true, knots) (>L:Airspeed t2, number) } (L:Airspeed t1, number) (L:Airspeed t2, number) - (>L:Airspeed diference, number)won't work as expected because you're continiously updating either LAirspeed var. This code works fine for one sec rate :(P:Absolute time,seconds) abs (L:Time Stamp,seconds) - abs 1 > if{ (A:Airspeed select indicated or true,feet per second) s0 (L:Airspeed previous, feet per second) - (>L:Airspeed diff, feet per second)l0 (>L:Airspeed previous, feet per second)(P:Absolute time,seconds) abs (>L:Time Stamp,seconds)}feet/sec gives a better handling number.As for the HUD part, maybe Jan or other "HUD experts" could give you some help.Tom

Share this post


Link to post
Share on other sites

Ha,First a picture to make clear what is needed or wanted.Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

I have attached a screenshot of the hud. The horizon line does shift whit the pitch an aircraft

Share this post


Link to post
Share on other sites

Well,Beautifull hud!!!!The small circle is the "Cue", dependant of the flightdirector.The big circle with wings is the velocity vector.You have to steer the big one over the small one.The velocity code of course must be ok!The horizon line code looks complicated with the moving heading numbers so i don't understand why it should'nt rotate.Anyway this is my solution:other ladder elements-------------------------------------------------------------------------------(A:Attitude indicator bank degrees, radians)other ladder elements(A:Attitude indicator pitch degrees, degrees) /-/So all ladder elements rotate individually and shift together.Hope it helps,Jan"Beatus ille qui procul negotiis..."Soy for the very bad .jpghttp://forums.avsim.net/user_files/136781.jpg

Share this post


Link to post
Share on other sites

Typo: Sorry Tom, I meant Tom instead of Ron, I Think I had A "Lapsus Brutus". Thanks for the code again.Javier.

Share this post


Link to post
Share on other sites

Hi,No single bitmap in my HUD.Velocity Vector is related to (A:Velocity body X,Y and Z, m/s)As in:................................(A:Velocity body X, m/s) (A:Velocity body Z, m/s) atg2 rddg (A:Velocity body Y, m/s) (A:Velocity body Z, m/s) atg2 rddg Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites
Guest Ron Freimuth

>>Tom, I was wondering if there

Share this post


Link to post
Share on other sites
Guest Ron Freimuth

>Hi Ron, that looks complex!. I

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