Hi Pete,
I know this dicussion is from a while back, but anyway, i haven a small question.
I'am using the build in helotrim finction in the payed version of fsuipc.
Built a small lua function to change the trim up and down and one as a small trim indicator. (see below)
Also set my fsuipc.ini: like:
[Profile.HELI]
1=UH-1D
2=HC412
3=205
4=Bell 206B JetRanger
5=AgustaWestland EH101
6=Robinson R22
7=Dodosim 206 FSX
8=WILCO
9=Harrier
[JoystickCalibration.HELI]
AllowSuppressForPFCquad=Yes
ExcludeThrottleSet=Yes
ExcludeMixtureSet=Yes
ExcludePropPitchSet=Yes
SepRevsJetsOnly=No
FlapsSetControl=0
FlapDetents=No
ReverserControl=66292
Reverser1Control=66422
Reverser2Control=66425
Reverser3Control=66428
Reverser4Control=66431
MaxThrottleForReverser=256
AileronTrimControl=66731
RudderTrimControl=66732
CowlFlaps1Control=66162
CowlFlaps2Control=66163
CowlFlaps3Control=66164
CowlFlaps4Control=66165
SteeringTillerControl=0
MaxSteerSpeed=60
Aileron=-10849,-94,-94,9134/8
Elevator=-7281,359,359,6036/8
Rudder=-16380,0,0,16380/8
PropPitch=-10531,13040/8
LeftBrake=0,16383/8
RightBrake=0,16383/8
Spoilers=13814,16384/24
Flaps=-12800,12588/24
Aileron Trim=-16383,158,788,16226/8
Rudder Trim=-16229,-1530,-152,16383/8
UseAxisControlsForNRZ=No
ApplyHeloTrim=YES
Throttle=-16062,15906/8
SlopeSpoilers=15
SlopeRudder=5
------------------------------
function Helo_Trim_up()
ipc.writeSW(0x0BC0, 0)
ipc.writeSW(0x3338, 0)
current_trim = ipc.readSW(0x0BBE)
new = (current_trim + 5000)
ipc.writeSW(0x0BBE, new)
end --func
function Helo_Trim_dn()
ipc.writeSW(0x0BC0, 0)
ipc.writeSW(0x3338, 0)
current_trim = ipc.readSW(0x0BBE)
new = (current_trim - 5000)
ipc.writeSW(0x0BBE, new)
end --func
------------------------------
ipc.setdisplay(10,1000,140,1)
while 1 do
ipc.sleep(100)
current_trim = ipc.readSW(0x0BBE)
ipc.lineDisplay("Heli trim = "..current_trim)
end
------------------------------
What i get is an indicator,changing pitch value as expected, but the heli (stnd bell 205) doesn't reacy on the pitch setting at all?!
I'am doing somthing wrong, but don't know what?
Can you help?
Thanks in advance, brds Erik