View Single Post
  #4   Spotlight this post!  
Unread 06-03-2011, 11:00
Nicandy's Avatar
Nicandy Nicandy is offline
Registered User
AKA: Nicole/Andy
FRC #3580 (Marinerds)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cape Coral
Posts: 23
Nicandy is an unknown quantity at this point
Re: Tank Drive Troubles

Quote:
Originally Posted by Vikesrock View Post
Easy way to test for proper operation of a Tank drive.

1.Put the robot up on blocks so the wheels are off the ground and not touching anything.
2. Push whichever joystick corresponds to the left side forward. Check if the left side drive wheels move forward.
2a. If they don't go to Begin.VI and wire a true constatnt into the Invert Left terminal of the Open X Motor drive.
3. Push the right joystick forward. Check if the right side drive wheels move forward.
3a. If they don't go to Begin.VI and wire a true into the Invert Right terminal of the Open X Motor drive.
4. Save and rerun, or rebuild and set as startup
5. Verify both sides now move in the proper direction.
We want one joystick to control forward and backward, as well as turning left and turning right, while the other joystick will control the arms elevation.
and our problem is that we can't figure out how to program the first joystick to do all four things. we can only get it to do either forward and backward, or left and right.