Jump to content
The simFlight Network Forums

Interested to know how expressions are calculated


Recommended Posts

Hi all,

Within the SDK pack. I can see that FS Interrogator uses the expression *90/10001750 on the memory read result to gain the actual Latitude. My question is: how is this expression deduced for this particular field and others? or is this black box stuff? :wink:

Link to comment
Share on other sites

Within the SDK pack. I can see that FS Interrogator uses the expression *90/10001750 on the memory read result to gain the actual Latitude. My question is: how is this expression deduced for this particular field and others? or is this black box stuff? :wink:

It's just based on the units used in FS. In this case, I think it's the number of metres from the equator (10001750 metres is about 6215 statute miles). So dividing by that and multiplying by 90 gives you degrees.

The reference used by those editing FSInterrogate's FSI files is the Programmer's Guide document.

Regards,

Pete

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.