Jump to content
The simFlight Network Forums

Question about vertical speed offset readings


Recommended Posts

I dont understand something with the values read from vertical speed offset $02C8

According to FSUIPC documentation for this offset:

Vertical speed, signed, as 256 * metres/sec. For the more usual ft/min you need to apply the conversion *60*3.28084/256

But I noticed that when aircraft start climb and vertical speed gauge needle is moving up, the values from $02C8 are circulating between positive and negative values and the changes are not linear (Even with the conversion as advised above!!)

This is also visible as my servo is jumping from side to side, instead of linear steady move.

Link to comment
Share on other sites

But I noticed that when aircraft start climb and vertical speed gauge needle is moving up, the values from $02C8 are circulating between positive and negative values and the changes are not linear (Even with the conversion as advised above!!)

Sounds like you are reading it incorrectly then, maybe as 2 bytes (16bits) instead of 4 (32 bits)? Try using the facilities provided to see your error -- ie.g. ipc.read logging, or easier, just monitor the offset as type S32 using the right-hand side of the logging tab and selecting "Advdisplay" or "FS window" below. You'll see it changing in real time then.

Also a tool called FSInterrogate is provided in the SDK which will display values even more intelligently. There are lots of ways to check your work.

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.