View Single Post
  #15   Spotlight this post!  
Unread 29-01-2011, 15:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: Jaguar will not go backwards

Quote:
Originally Posted by Cody Trey View Post
I am unfamiliar with MecanumDrive_Cartesian() could you please explain this more in depth. like what the parameters are?
If you have C++ installed, the WPI Library source code is on your hard disk.

void RobotDrive::MecanumDrive_Cartesian(float x, float y, float rotation, float gyroAngle)

X and Y are your joystick axes for Strafe(X) and Forward/Reverse(Y) respectively.

"rotation" is for turning (yaw rate) and can come from the twist axis of a 3-axis joystick.




Last edited by Ether : 29-01-2011 at 15:15.