shickidyshade |
10-29-2008 09:37 PM |
jscal Logitech Rumblepad™ 2
Hey guys,
I am trying to use a Logitech Rumblepad 2 to control a robotic motor system. However right now I am just trying to find a usbsniffer or some function to allow me to display the i/o characteristics of the controller. aka 0-255 for the axis 0 of the controller. I found a program called jscal is supposed to allow me to calibrate and test the controller. While attempting to calibrate I get what seems to me as broken line in the code of jscal.
Code:
[root@localhost dev]# jscal js0 -c
Joystick has 6 axes and 12 buttons.
Correction for axis 0 is broken line, precision is 0.
Coeficients are: 127, 127, 4227201, 4194176
Correction for axis 1 is broken line, precision is 0.
Coeficients are: 128, 128, 4194176, 4227201
Correction for axis 2 is broken line, precision is 0.
Coeficients are: 128, 128, 4194176, 4227201
Correction for axis 3 is broken line, precision is 0.
Coeficients are: 127, 127, 4227201, 4194176
Correction for axis 4 is broken line, precision is 0.
Coeficients are: 0, 0, 536854528, 536854528
Correction for axis 5 is broken line, precision is 0.
Coeficients are: 0, 0, 536854528, 536854528
After inputing all of the positions with the joystick still seems to be something broken in the code of the axis correction.
Code:
Setting correction to:
Correction for axis 0: broken line, precision: 0.
Coeficients: 127, 127, 4227201, 4194176
Correction for axis 1: broken line, precision: 0.
Coeficients: 127, 127, 4227201, 4194176
Correction for axis 2: broken line, precision: 0.
Coeficients: 126, 127, 4260750, 4194176
Correction for axis 3: broken line, precision: 0.
Coeficients: 127, 127, 4227201, 4194176
Correction for axis 4: broken line, precision: 0.
Coeficients: 0, 0, 536854528, 536854528
Correction for axis 5: broken line, precision: 0.
Coeficients: 0, 0, 536854528, 536854528
And when I then move to attempt to test using jscal js0 -t will not work giving the output
Code:
[root@localhost dev]# jscal js0 -t
jscal: axes not calibrated
Does anyone know of another program that will be able to calibrate joysticks or where I can get an updated version of jscal. I have heard of a jtest but I can't seem to find it or get it to work.
And if anyone has experience in what this program is using to calibrate this controller because I will need to find the addresses for the controller so that I can use it in a program that will allow me to take the signals that are coming in from the USB and be able to export them as digital signals.
Thanks in advance,
Shade
|