View Single Post
  #1   Spotlight this post!  
Unread 02-13-2015, 02:59 PM
tanogirl's Avatar
tanogirl tanogirl is offline
Registered User
AKA: Emma
FRC #3038 (ICE)
 
Join Date: Jun 2014
Rookie Year: 2014
Location: Chisago City, Minnesota
Posts: 18
tanogirl is an unknown quantity at this point
Drive Backwards Causes A Rotation Movement

We are using the Logitech Extreme 30 Pro Joystick to control our mechanum drive base this year. Drive forward works fine and so does strafing. When we drive backwards the robot wants to rotate instead. We used smart dash board to locate the problem. When we pull the joystick backwards the Z axis has an input greater than the Y axis input.

Our Code is:

Code:
myRobot.MecanumDrive_Cartesian(stick.GetX(), stick.GetY(), stick.GetTwixt()/3, 0)
We divided the twist input by 3 to try to help with the problem. It helped a little but not much. Any ideas?
Reply With Quote