Page 2 of 2

Re: How to make script for Tiller

Posted: Tue Apr 25, 2017 12:33 pm
by betampona
I just did a test, with the new program.
It is necessary to put a little of motor power and to advance slightly the airplane.
There the tiller moves with the pedals as well as the front wheel.
For me everything is correct, I still have to buy a tiller.
I set PosC to 128
Congratulations.

Re: How to make script for Tiller

Posted: Tue Apr 25, 2017 5:14 pm
by mvr1918
140 because this is where my Tiller potmeter is in the middle position.

Video is now public

Re: How to make script for Tiller

Posted: Thu May 10, 2018 1:09 am
by nolatron
Will this still work if the tiller is connected to an analog connection on a USB Expansion card?

I added the above script as such, point to Device 31 (IDX = 31 USB-Expansion V3 Device = 104)

Var 897, name tiller, Link USB_ANALOGIC, Device 31, Input 1, PosL 1, PosC 140, PosR 255
{
IF &tiller > 129
{
&tiller_offset = &tiller
}
IF &tiller < 127
{
&tiller_offset = &tiller
}
}
Var 0898, name tiller_offset, Link FSUIPC_OUT, Offset $3BC4, Length 2

But I'm not getting any response from FSUIPC on it.

It looks like I may need specify something like USBAnalogic = 1,104 in the INI file? If so, not sure I how can get that manually added to the INI.

Re: How to make script for Tiller

Posted: Thu May 10, 2018 10:01 pm
by CAVENEY747
No, because they are Analogue to Digital Converter inputs. It needs to be an analogue
input such as the ones on the Servo Card, then it works fine. I've been there and bought
the T-shirt!

Re: How to make script for Tiller

Posted: Fri May 11, 2018 7:10 pm
by nolatron
lol!

I've got a joystick card back there so I'll see if I can get it connected to an axis on there until I ever get a servo card for the flaps and what not.

Thanks!