Jump to content
The simFlight Network Forums
Sign in to follow this  
Jason Fayre

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.

 

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hi Thomas.

Thanks. Unfortunately, I am totally blind,so images aren't going to help. Can you please indicate the offset I should use?

Also, is the info from the cfg file obtainable through FSUIPC, or do I need to get that some other way?

Share this post


Link to post
Share on other sites

Jason,

Here in text form:

Offset 0BC0 WORD Elevator trim control input: –16383 to +16383

Offset 0BC2 WORD Elevator trim indicator (follows input)

Rgds
Reinhard

 

Share this post


Link to post
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!

 

 

Share this post


Link to post
Share on other sites

Hi,

I didn't that one but that will give you the actual Trim deflection in RAD, just convert to DEG (RAD * 180/PI = DEG). To know beforehand the max trim value you would still need to read it from the related aircraft.cfg file.

Thomas

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • 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.