Log in

View Full Version : Simple Mecanum Question


elbuo
02-03-2010, 01:15
I have been searching around a bit for mecanum drive examples. For what I have seen I can use the Holonomic Drive VI that is included in WPIlib.
If I use the cartesian VI I just need to plug the X and Y axis right from the Get Joystick and it should work?
Searching has been providing me doubts :(
http://www.chiefdelphi.com/forums/showthread.php?t=82498
Specially that topic...

Vikesrock
02-03-2010, 01:55
Some of the posts in the thread you linked to were likely made before the Holonomic - Cartesian VI was released. That VI was only included in the latest Labview update. You can see users discussing it at the end of the linked thread.

Alan Anderson
02-03-2010, 07:01
You need to decide how you will control the robot's rotation. If you use a separate joystick just for that, or if you have a joystick with a "twist" function, then the X and Y axes are all you need for speed/direction control. The thread you referenced has an example of "tank drive with strafe" control, which is another way to do it.

elbuo
02-03-2010, 10:08
Oh well... So if I have 2 joysticks I just plug X and Y from one joystick to the corresponding X and Y in the VI and I plug any of the axes from the second joystick in rotation and it should work perfectly?

I remember trying that and motors didn't move...But when I changed to arcade drive...they did. :(

Also, if I plug in the gyro into the cartesian VI it would let me have something similar to a driver oriented drive?

elbuo
03-03-2010, 08:31
No love :( ?