James Horgan Posted April 11, 2014 Report Posted April 11, 2014 Pete / All, Hopefully this is an easy question, i'm new to fooling around in FSUIPC. Having read the Offsets guide, I see there is a couple of ways to read the altitude. 0x0570 would seem to be the best, and gives me alt in metres, but is this AGL? or ASL? I assume as the user in game changes the baro value on the altimeter the offset doesn't change, as the baro is just a display parameter? James
herve_sors Posted April 12, 2014 Report Posted April 12, 2014 Hi James Altitude as provided at 0x0570 is (by definition) above mean sea level and will not change with baro setting as you assumed. Take care to properly retrieve and manipulate the data as far as the value is provided in units (high 32-bit integer at 0x0574) and fractional part (low 32-bit integer at 0x0570). Height above ground level can be obtained either by subracting ground altitude (at 0x0020) or using FSUIPC calculated radio altitude (0x31E4) Regards Hervé
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