Quote:
Originally Posted by Cody Trey
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.