View Single Post
  #3   Spotlight this post!  
Unread 04-02-2005, 21:57
bglass bglass is offline
Registered User
AKA: Bryan
#1609 (S.W.A.R.M.)
Team Role: Leadership
 
Join Date: Feb 2005
Rookie Year: 2004
Location: St. Louis
Posts: 8
bglass is an unknown quantity at this point
Send a message via AIM to bglass
Re: Help with Joystick Axes and Sensitivity

Quote:
Originally Posted by Alan Anderson
It sounds like one of your drive motors is running backwards from the way your code intends. That can be solved by subtracting the pwm value from 254 before outputting it, but it is more appropriate to reverse the connections to the motor from the victor, so that "plus" always equals "forward". (You might also have left and right swapped; you can figure that out later.)

On the other hand, maybe you do have your axes confused. The x axis is left-right joystick motion, and the y axis is forward-backward joystick motion. Swap x and y in your code if you've assumed otherwise.
Thanks a lot for the tip Alan, it solved my problem. Now I just have to figure out how to make my x-axis a little less sensitive. Thanks for your help!