Re: [Flightgear-users] Re: Joystick calibration problems

2004-11-29 Thread CHARRIER Jean-Christophe
Le dimanche 28 novembre 2004 à 22:44 +0100, Melchior FRANZ a écrit :

 Once calibrated, you dump a calibration script:
 
   # jscal -p  /usr/local/sbin/jscal-cyborg.sh
 
 and call this script from e.g. /etc/init.d/boot.local or elsewhere.

Works fine. :))

I've putted my jscal-cyborg.sh in my $HOME/.fgfs directory an made a
shortcut to run it the each time the joystick is plugged.


Thanks!


-- 
Jean-Christophe CHARRIER
[EMAIL PROTECTED]


___
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-users] Re: Joystick calibration problems

2004-11-28 Thread Melchior FRANZ
* CHARRIER Jean-Christophe -- Sunday 28 November 2004 22:19:
 It's a SAITEK Cyborg-Gold-3d-USB which need to be calibrated.
 What is the good way to do it ?
 
 I did a calibration running jscal -c /dev/input/js0. After this
 calibration the joystick works much better even if a jscal -t
 /dev/input/js0 returns jscal: axes not calibrated.

Same here. Forget -t.


 How can I load the correction values automatically so that if I unplug
 the joystick I don't have to recalibrate each axis?

Once calibrated, you dump a calibration script:

  # jscal -p  /usr/local/sbin/jscal-cyborg.sh

and call this script from e.g. /etc/init.d/boot.local or elsewhere.



 Modifying the cooked joystick values in my joystick.xml file changing
 dead-band, offset, factor and tolerance?

You can change these if you don't like some of the values, but only if
you have calibrated the js first. Don't change the js config *instead*
of calibrating. That's evil! You would continuously have to adjust all
the values, because the js behavior changes over time. A new calibration
should be all that's needed then.

m.

___
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d