How to make script for Tiller

This is a new forum for the OC4BAv4.
betampona
Posts: 36
Joined: Mon Jun 23, 2014 6:02 am
Location: Paris France

Re: How to make script for Tiller

Post 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.
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: How to make script for Tiller

Post by mvr1918 »

140 because this is where my Tiller potmeter is in the middle position.

Video is now public
nolatron
Posts: 20
Joined: Sun Apr 29, 2018 12:49 am

Re: How to make script for Tiller

Post 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.
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: How to make script for Tiller

Post 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!
nolatron
Posts: 20
Joined: Sun Apr 29, 2018 12:49 am

Re: How to make script for Tiller

Post 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!
Post Reply