Jump to content
The simFlight Network Forums

CptnYesterday

Members
  • Posts

    4
  • Joined

  • Last visited

About CptnYesterday

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://

Profile Information

  • Location
    Korea

CptnYesterday's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hey Peter, thank you for your help! Looks like I only had to change the type from "long" to "double". The values displayd now seem to look ok. I will have to run some tests on them though. Philipp
  2. Hi Paul, first of all let me say thank you for this great .dll. It helped me pulling out the necessary data I need to get from FS 2k2 so far. There's only one problem left, which I can't seem to solve all by myself. I want to get the x,y,z acceleration data from FS to feed these back into a motion platform for a flightsimulator. According to the FSUIPC documentation the offset values for those are: 31C0 //x acc 31C8 //y acc 31D0 //z acc And these seem to be the right offset values. Furthermore the data format should be FLOAT64 and the fs units should be in ft/sec/sec. Here is what i do to get the data: ... Offset xAccFS = new Offset(0x31C0) ... double xAccel = ((double)xAccFS.Value); this.txtXAcc.Text = xAccel.ToString("f1"); ... Ok, so far so good. The data I get seems to be right since when I turn the plane left/right it changes the sign. But the values are somewhat crooked since they are really high... Maybe you are laughing because this is most certainly a really stupid question, but how can I convert these values so the make sense? Am I missing a conversation there? Or is the "long" type not what i want to use? Thank you very much, Philipp
×
×
  • 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.