View Single Post
  #4   Spotlight this post!  
Unread 18-01-2015, 10:59
NeilR NeilR is offline
Adjunct Lecturer, UNC Asheville
FRC #3971 (Kai Orbus)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2002
Location: Asheville, NC
Posts: 6
NeilR is on a distinguished road
Re: 2015 Mecanum Drive/Joystick Example

In "WPI_RobotDriveMecanumDrive_Cartesian.vi" (accessed by double clicking on the "Drive -- Holonomic Drive" block in the Teleop vi) over on the far left toward the bottom you see "Rotation", "X", "Y" inputs. By rewiring which goes to which input, you can control which joystick motion/wheel controls what behavior.

Please see this image, this is what works for us:

http://pho.to/8fJab

We use the z-axis input for side-to-side motion. On our old joystick that's a little wheel just below the handle.

Neil

P.S. Also, don't forget to swap the wires for motors 1 and 3.

Last edited by NeilR : 18-01-2015 at 11:05.
Reply With Quote