English Rebel Posted September 30, 2014 Report Posted September 30, 2014 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
alaxus Posted October 2, 2014 Report Posted October 2, 2014 Have a read of this post here: http://forum.simflight.com/topic/70537-rotarieslua-with-leo-bodnars-card/?hl=encoders#entry436854 I had issues using encoders and lua.
English Rebel Posted October 2, 2014 Author Report Posted October 2, 2014 I read that post and to be honest it was way above my pay grade. Did you ever get them to work correctly?Thanks Alan
English Rebel Posted October 2, 2014 Author Report Posted October 2, 2014 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
alaxus Posted October 6, 2014 Report Posted October 6, 2014 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.
English Rebel Posted October 7, 2014 Author Report Posted October 7, 2014 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now