Jump to content
The simFlight Network Forums

Fast/Slow Encoders for Autopilot Functions


Recommended Posts

I just installed my Flight Guidance Computer (Autopilot) in my Lear45 sim.  It has encoders for flight level, speed, heading etc., all controlled through a Pokey card.   I can program the functions in FSUIPC from the drop down list in Buttons and Switches as I have programed the Pokey card to send the encoder's left and right turns as such.

The issue is that I can only select a FAST or SLOW option and when changing the heading for instance, SLOW takes too long and FAST is not accurate enough as it tends to overshoot the desired heading.  When I used to have GoFlight autopilot module this was not an issue as GoFlight software presumably detected how fast I was turning the knob and selected the speed accordingly.  

I'm sure that someone has somehow managed to fix this -- perhaps using a LUA script to detect how fast the button presses are taking place and selecting the appropriate FSUIPC function -- FAST or SLOW?

I have no programming experience and have only managed to write a small LUA script that plays a sound when a button is pressed so a more complicated script would be beyond me.

Any help will be appreciated.

Thanks

Alan

Link to comment
Share on other sites

I did a test of the heading bug today.  Using FSUIPC AP Panel HDG INC Fast function I get 180 degrees rotation of the heading bug for 360 rotation of the encoder (One "click of the encoder changes the bug 10 degrees) and for the Normal option I get 1.25 degrees rotation of the bug for 180 degrees rotation of the encoder.  Now there may well be no way to fine tune this in FSUIPC but I'm open to suggestions.

Thanks

Alan

Link to comment
Share on other sites

At the end of the day you will need a program to interface the pokeys to FSUIPC to get proper encoder acceleration. I am currently working on one for my Learjet MCP at the moment. Its a bit of a slow crawl as I am not the worlds greatest programmer.

I will let you know when it is done. Might be a while though.

Link to comment
Share on other sites

At the end of the day you will need a program to interface the pokeys to FSUIPC to get proper encoder acceleration. I am currently working on one for my Learjet MCP at the moment. Its a bit of a slow crawl as I am not the worlds greatest programmer.

I will let you know when it is done. Might be a while though.

 

We are working on a solution with Ron Rollo and DonnyRay Jones.  May need some hardware added to the encoder circuits.  At the moment if I set the HDG to the fast option the faster I turn the encoder the heading bug slows down so I think the button presses are being sent by the Pokey card erratically.

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.