Gausen
Member
That code is from an old version, as you can check that looking at the date of posting the sources and the new release of skunks (also you could check the pxml of both versions). You can watch the newer sources attached to this posts. As you can see it is reading steering nub as absolute, you can also steer and watch that the angle of the wheels respond to the nub. The appdata folder deletion is needed since the file joystick stored in /config had been updated (sensibility and deadzone).
I can change everything. But throttle worked like this in the original code. Why this port should not be accurate to the original skunks? Back to steering now, try setting deadzones to zero in appdata/skunks/config/joystick. That way nub events that occur within the deadzone can be registered. I believe that sdl isn't getting events out of every change of the nub. Missing the event of value zero means that the car will remain turning. I will switch the polling to reading nubs instead of waiting for events.
I can change everything. But throttle worked like this in the original code. Why this port should not be accurate to the original skunks? Back to steering now, try setting deadzones to zero in appdata/skunks/config/joystick. That way nub events that occur within the deadzone can be registered. I believe that sdl isn't getting events out of every change of the nub. Missing the event of value zero means that the car will remain turning. I will switch the polling to reading nubs instead of waiting for events.
Attachments
Last edited by a moderator: