Thanks, thats pretty much the same binding I used, but did not get any effect
with JSBSim. I will give that a try though in YASim.
As far as JSBSim I started looking at the code. It doesn't look like JSBSim
is reading that one...although the interface does seem to be (initilizing?) a
property called fdm/trim/rudder. Tried changing that in the air with
propPicker...no effect and besides that just did some grepping of JSBSim code.
But thats about as far as I got before resigning to the fact that once you're
over forty sleep becomes a necessary thing.
Best,
Jim
Andy Ross [EMAIL PROTECTED] said:
Jim Wilson wrote:
Is there any support for rudder trim...partially done or otherwise?
The property is there, but it's not mapped to any input keystrokes or
buttons in the default configuration. Add something like this to the
keyboard.xml file to map rudder trim to and : (warning,
untested, check my syntax and my ASCII, etc...)
key n=62
namelt;/name
descRudder trim left/desc
binding
commandproperty-adjust/command
property/controls/rudder-trim/property
step type=double-0.001/step
/binding
/key
key n=64
namegt;/name
descRudder trim right/desc
binding
commandproperty-adjust/command
property/controls/rudder-trim/property
step type=double0.001/step
/binding
/key
I'm not sure if JSBSim reads it (it probably does), but YASim gets all
of its control input via the XML aircraft description. On the YASim
planes, only elevator trim is currently included (I was lazy) but
adding rudder and aileron trim would be really easy. In the control
tags for the appropriate part (wing, hstab, vstab), simply add a new
entry. Here's a modified 172 vstab entry with rudder trim:
vstab x=-7.16 y=0 z=.17 taper=.5 effectiveness=3
length=1.71 chord=1.54 sweep=20
stall aoa=16 width=4 peak=1.5/
flap0 start=0 end=1 lift=1.3 drag=1.5/
control axis=/controls/rudder
output=FLAP0 invert=true square=true/
control axis=/controls/rudder-trim
output=FLAP0 invert=true square=true/
/vstab
YASim will sum multiple entries together when calculating the control
deflection. I'll be putting together a new plane set this weekend
with all the control inputs mapped, including things like slats and
spoilers on the planes that have them.
Andy
--
Andrew J. RossNextBus Information Systems
Senior Software Engineer Emeryville, CA
[EMAIL PROTECTED] http://www.nextbus.com
Men go crazy in conflagrations. They only get better one by one.
- Sting (misquoted)
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel