Jump to content

Recommended Posts

Posted

I am trying to get weights and inertias using Simconnect.

 

The following snippet results in the correct total weight but zero for the MOI.

 

But, I get the correct empty weight if I replace "Total Weight Pitch MOI" by "Empty Weight" and "Slugs per feet squared" by "Pounds" in the second call while making no other changes whatsoever to the the remainder of the code.

 

Any ideas what's wrong with the call?

 

 

 

Code:

SimConnect_AddToDataDefinition(hSimConnect,

DATA_INERTIA_DATA,

"Total Weight",

"Pounds");

 

SimConnect_AddToDataDefinition(hSimConnect,

DATA_INERTIA_DATA,

"Total Weight Pitch MOI",

"Slugs per feet squared");

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
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...