View Single Post
  #2   Spotlight this post!  
Unread 16-02-2013, 22:07
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: Help with Mecanum Code

Quote:
Originally Posted by normaldude8825 View Post

drive.mecanumDrive_Cartesian(leftStick.getMagnitud e(), leftStick.getDirectionDegrees(), rightStick.getX(),0);
Try:
drive.mecanumDrive_Cartesian(leftStick.getX(), leftStick.getY(), rightStick.getX(),0);

Our team likes to use the Logitech Extreme 3D joystick for mecanum because it's a 3 axis joystick that has the normal X and Y movement as well as a twist capability that we use for rotating the robot instead of using a second joystick.

Good luck.
__________________
Wendy
Team 3502
Reply With Quote