Jump to content
The simFlight Network Forums

FSUIPC and Engine lever


Recommended Posts

Hi,

I'm developing an external program which permits you to assign up to 8 axis of a joystick (using its circuit for a throttle quadrant) and save the assignement profile for each aircraft, using FSUIPC (3.50) to write directly into the corresponding control in FS2004, bypassing FS2004 assignements.

For example if I assign the potentiometer of the X axle to the Engine1 throttle lever then I will write at the offset $088C.

All is working but the movement of the throttle lever in the panel aircraft starts moving when the potentiometer is at about 50% of his course.

I try to explane: the value of the potentiometer read from the joystick varies from +32768 to -32768 while the value into $088C (according to what is reported from FS-Interrogate) varies from +16384 to -16384 (the formula I used is simply the value read from the axle * 0.5).

Then I have just the 50% of the whole course available.

I also tried to write into $3AE8 (which can vary from 0 to 1) but the result is the same.

How can I do to exploit the whole course?

I hope the problem is clear.

Regards,

Bob

Link to comment
Share on other sites

using FSUIPC (3.50) to write directly into the corresponding control in FS2004, bypassing FS2004 assignements.

For example if I assign the potentiometer of the X axle to the Engine1 throttle lever then I will write at the offset $088C.

As you should note from the details in the current Programmer's documentation, you should be writing to 089A instead so that add-ons using Fly-by-Wire or other auto throttle control systems (eg their own autopilot/throttle coding) can intercept and handle the throttles.

All is working but the movement of the throttle lever in the panel aircraft starts moving when the potentiometer is at about 50% of his course.

Is this an aircraft with reverse thrust? It sounds like it isn't.

I try to explane: the value of the potentiometer read from the joystick varies from +32768 to -32768 while the value into $088C (according to what is reported from FS-Interrogate) varies from +16384 to -16384 (the formula I used is simply the value read from the axle * 0.5).

Then I have just the 50% of the whole course available.

Values from -16384 to 0 represent REVERSE thrust, though the maximum reverse is usually around -4096 (the exact value for the current aircraft is provided at offset 0B00). Anything lower than the minimum implemented for that aircraft will be ignored, of course.

Evidently you didn't actually read my documentation for the offsets? Even the one for 088C does state -4096 to +16384.

Regards,

Pete

Link to comment
Share on other sites

Thank you for the answer Pete, I will read the documentation then but I already knew the value range (and its meaning) from FS Interrogate...the aircrafts with which I tried my application was the Cessna 172 and the ATR 42-500....with this last one the "problem" (if we want to consider it a problem) is less evident than in the Cessna probably because, as you said, it has the reverse.

Regards,

Bob

Link to comment
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...
 Share

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