5 Jun 2006 11:22
steering sensitivity and deadzone
<wino <at> piments.com>
2006-06-05 09:22:49 GMT
2006-06-05 09:22:49 GMT
Hi, I have what I initially saw as a steering sensitivity problem , since fine corrections to the steering seemed impossible then the car would veer to one side. It was basically uncontrollable above about 80km/h On closer inspection it seems to be an issue with the deadzone. I ran a test with jstest in a terminal next to the race and was able to see the following was happening. joystick /dev/input/js0 output registers a change starting at about 5 degrees off centre. Careful manipulation can register settings as low as a few hundred (fds=32000) looking at the car's behaviour no steering movement occurs until joystick position regiester about 25000 ! I brought the deadzone down to 0.01 and this may have made a slight difference and steering seemed to start around 23000. Due to the crudeness of the test this difference is within experimental error and may in fact be just that , an error. In any case the problem remains essencially the same: it require 3/4 full movement before any steering occurs. I am running a classis two axis analogue joystick, I use only left right axis for steering, using torcs calibration to set it up.(Continue reading)
RSS Feed