Mecanum wheels programming

Does any one have a working example on how to program a mecanum wheels to move side by side using LabView, please ?? :confused:

Thanks!!:slight_smile:

There’s a vi for that.

Holonomic vi

The ā€œYā€ input to the vi is for forward/reverse motion.

The ā€œXā€ input to the vi is for strafe right/left (sideways) motion.

The ā€œRotationā€ input to the vi is for turning (yaw).

To take advantage of all three possible motions, you will need to provide those 3 inputs to the vi, so you will need a 3-axis joystick or two 2-axis joysticks or some other scheme.

**

thanks a lot . does that works with 4 wheels that all in the same direction !! ( forward\ reverse) ??
I thought we might need 2 wheels going ( forward ) and the other 2 ( reverse ) so that it moves side by side !

I’m not sure what you mean by the above, but there IS a right way and a wrong way to mount the mecanum wheels.

Take a look at this thread. The ā€œXā€ and ā€œOā€ mentioned in the post is the visual appearance of the mecanum rollers. The wheels themselves should all be aligned parallel to the robot’s fore/aft axis.

**

Ok I am very new, and this may be a stupid question but where is the ā€œHolonomic viā€ I can not find it and non of the team is really great with LabView yet.

Thanks Jeff

At the bottom of the functions palette is the ā€œWPI Robotics Libraryā€.
The first thing in the WPI Robotics Library is ā€œRobotDriveā€.
You’ll find the Holonomic Drive vi right next to Tank Drive and Arcade Drive.

My team has decided on Mecanum wheels, and I still can’t find the ā€œWPI Robotics Libraryā€.

This is what I did, correct me if I’m wrong, PLEASE!

  1. Open LABVIEW 2011
  2. Go up to the ā€œtoolsā€ bar
  3. ?? (Where do I find the ā€œWPI Robotics Libraryā€?)
  4. Holonomic Drive VI
  5. Profits

Thanks everyone, you all are very helpful.

I meant ā€œfunctions paletteā€, not ā€œtool paletteā€. Sorry about that.

You can open the function palette by right-clicking on a blank spot in the block diagram, or by choosing ā€œFunctions Paletteā€ from the View menu.

Forget my comment, I learned how to make mecanum from scratch.