Jump to content
Sign in to follow this  
Guest

Gauge nonlinearity table interpolation

Recommended Posts

Guest

Hello,I am designing some gauges for fs2002 and it would be useful if I knew the interpolation method microsoft uses for the nonlinearity table.So far I have tried some interpolation methods and algorithms on already built gauges but none seems to give me exact results to what is internally used by fs2002.I appreciate any piece of information.Thanks in advance.

Share this post


Link to post
Share on other sites
Guest bartels

It is determined where in the nonlinearity array you are, and then linearly interpolated with the help of the two nearest array entries. It is therefore a piecewise linear interpolation.Arne Bartels

Share this post


Link to post
Share on other sites
Guest

Thanks for your advice but I do not think piecewise linear interpolation is the right method except if microsoft simulates gauges errors and deviations. I have included the test measurements graph made for one of the gauges using an opengl program I have made for testing gauges bitmaps by reading the .xml options file. As one can see, the last part of the scale cannot be approximated by piecewise linear interpolation as there is deviation with maximum of 20 knots. I do not know how real-life instruments operate and if this amount of deviation is normal. I would appreciate any further suggestions.http://utopia.duth.gr/~elatanis/fs/test.gif

Share this post


Link to post
Share on other sites
Guest bartels

So what? Drop in more nonlinearity points and you'll have it. And if nothing else helps, and you have the formula, why not use the formula instead of nonlinearities? I don't actually understand the problem.Arne Bartels

Share this post


Link to post
Share on other sites
Guest

The only problem is that these measurements have been made on one of fs2002 gauges that came with the simulator. So, does nonlinearity table work properly or does microsoft uses another interpolation method?I do not know.Thanks anyway.

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