Jump to content
Sign in to follow this  
Guest Patrick_Waugh

C gauge question!!! help!

Recommended Posts

Guest frndd0

Hello one and all,I was wandering if anybody knows how often a c gauge is updated?I need to be know so that i can calculate how fast a plane is travelling in relation to a static object. so for example if a gauge updates 10 times a second and i have calculated a distance i can work out how fast i am travelling in relation to a static object. This is so if i am flying in a perfect orbit around an object, the speed will display as 0.frndd0

Share this post


Link to post
Share on other sites

18Hz


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites
Guest Patrick_Waugh

Well first, while a gauge callback is called approximately at 18 hz, this is approximate and varies due to demands on the engine.To determine a "speed" (a scalar) or a velocity (a vector with direction) you would use the sim time ELAPSED_SECONDS and the standard forumlas for position * dt (with respect to time).If you oribt a fix point, your speed/velocity is not going to be zero, unless you are hovering, or you are averaging it over exactly one complete turn.You might want to state what your larger purpose is (such as getting the speed relative to a VOR) as someone may have a better strategy for you.

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