View Single Post
  #2   Spotlight this post!  
Unread 24-01-2015, 20:30
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: WPILIB mecanum code not working properly

Quote:
Originally Posted by TimTheGreat View Post
And what is the problem of just using RobotDrive.MecanumDrive_Cartesian(joystick.getX(), joystick.getY(), joystick2.getX(), 0)?

That should give you exactly what you want without having to mess with the math of it
... and if it doesn't then do this.