GHD Posted May 12, 2010 Report Posted May 12, 2010 The programmers manual states that the return value for offset 0020 is in metres x 256 returned as a long, however, Simconnect returns its value in metres as a double (to what pecision I do not know). I have noticed a 2mm difference between the values returned by FSUIPC and Simconnect. Is there an FSUIPC offset which will give the the value as a double, ie. the same as that returned by Simconnect? George Edit. Sorry, I should have said that this is for FSUIPC 4.
Pete Dowson Posted May 12, 2010 Report Posted May 12, 2010 Is there an FSUIPC offset which will give the the value as a double, ie. the same as that returned by Simconnect? No. SimConnect supplies many things as doubles. FSUIPC has to convert to keep compatibility with previous versions of FS. That's the whole point of FSUIPC after all. Offset 0020 is, as it says, in 1/256ths of a metre, making it accurate to just under 4mm, so, yes, 2mm either way is going to happen quite often. What practical purpose needs more accuracy in any case? For new projects, not needing to maintain compatibility with previous versions of FS, I would expect folks to be interfacing to SimConnect directly in any case. This is why I'm not developing the IPC interface any further, but concentrating on additional user facilities instead. Regards Pete
GHD Posted May 12, 2010 Author Report Posted May 12, 2010 No problem Pete. As my manual was dated 2008, I thought there may have been additional offsets introduced later. George
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now