|
Joystick Input Mapping
This last competition for 2008, in my teleop code I had around 2000 lines of code just basically going like this:
if (p1_y == 0)
{
pwm13 = 0;
}
and ect... for all of them, what I was trying to accomplish was a slow steady raise in speed the more you push the controller forward, the method I used proved to be ineffective. I might also add when I was programming for this I was using the controllers that came in the kit of parts. Has anyone had any success doing what I tried to achieve? If so plz either tell me or instruct me in a different path, on how to accomplish this task.
|