Jump to content
The simFlight Network Forums

elevator trim units


Recommended Posts

Hello,,

In the speech add-on I'm developing, I want to be able to indicate what the elevator trim is set to. In looking at the offsets, I can't quite figure out which offset to use, and what unit to convert the output to. If it is measured in degrees, how do I get that value? The documentation is usually really good, but this one has me stuck.

 

 

Link to comment
Share on other sites

Hi,

I think it is quite simple to select which Offset to use in relation what you want to do, reading from or writing to.

image.thumb.png.6cb485df6310249caaf39c8efa8fb7a4.png

FS doesn't return a conversation to degree or any other, just the min and max position as a value, see above.

The conversion you have to do yourself as it is related to the aircraft settings in the aircraft.cfg of the aircraft that is used. You will find there those lines that define the values.

Quote

[flight_tuning]
. . . 
elevator_trim_effectiveness = 1.0

[airplane_geometry]
. . .
elevator_trim_limit     = 19.5                  //Degrees

But the .air file might have further definitions that might influence.

Thomas

Link to comment
Share on other sites

Thanks Reinhard!

So if I'm understanding this, the only way for me to get a human readable value from the trim is to read the aircraft.cfg file? 

If the max trim in the aircraft.cfg file is 19.5 degrees, how to I convert the value that FSUIPC returns into a degree value?

 I really apreciate the help!

 

 

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.