View Single Post
  #2   Spotlight this post!  
Unread 11-02-2012, 19:49
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Programming or Electrical?

From what you describe, I'm inclined to settle on a coding issue. To conclusively determine whether it is, I suggest uploading skeleton code (my choice of preference would be tank drive) and comparing it with joystick input to see how it responds. If wheels turn forward and backward in response to forward and backward joystick motion, then you know it's a code problem.

If that isn't the case, however, I would suggest checking the neutral on your joysticks. An inconsistent neutral could possibly produce the symptoms you're observing (I know we've had problems with Logitech gamepads in this area before).

Quote:
Originally Posted by rsegrest View Post
Slow reverse - one set of wheels spins forward [light on jag indicates forward code (light is green)] and one set spins backwards (light is red)
Full-speed reverse - both sets spin backwards
One side of your drive should be green and the other side red when going backwards. The reason is the change in orientation of the motors; telling two motors to go forward will always turn their shafts in the same direction with respect to the output face, but not necessarily the same direction with respect to the frame due to changes in orientation. As such, full-speed reverse should turn one side of your drive green and the other red, but one side going forwards and the other backwards should be indicated by one consistent color (either all green or all red).

Just for clarification, I assume driving forward slowly and slamming the joysticks forward produce the appropriate responses?
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners