Hello David,
I have looked into this and I think the reason I decided that the constants needed changing is that the js_demo program reports the input range for axis 3 to be +0.4 (0%) to -0.6 (100%) i.e. the span is only 1 rather than 2 as you suggest below. The ranges of the other axis are: axis0 = -0.5 -> +0.9 axis1 = +0.6 -> -0.8 axis2 = -0.6 -> +0.6 Cheers, Mark From: David Megginson <[EMAIL PROTECTED]> Subject: re: [Flightgear-devel] forwarded message from Mark Burton Date: Sun, 13 Oct 2002 12:00:11 -0400 > Curtis L. Olson writes: > > > From: Mark Burton <[EMAIL PROTECTED]> > > > I believe the factor and offset values in the supplied > > wingman-extreme-digital-3d.xml are transposed and should read: > > > > <axis n="3"> > > <desc>Throttle</desc> > > <binding> > > <command>property-scale</command> > > <property>/controls/throttle[0]</property> > > <offset type="double">-0.5</offset> > > <factor type="double">-1.0</factor> > > </binding> > > <binding> > > <command>property-scale</command> > > <property>/controls/throttle[1]</property> > > <offset type="double">-0.5</offset> > > <factor type="double">-1.0</factor> > > </binding> > > </axis> > > > > Otherwise, you only get 1/2 throttle! > > I don't think there's a problem. The input range is -1.0:1.0, and we > want to map it to a range of 0.0:1.0, so we need to halve the range. > Is anyone seeing a problem? > > > All the best, > > > David > > -- > David Megginson, [EMAIL PROTECTED], http://www.megginson.com/ _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
