View Single Post
  #2   Spotlight this post!  
Unread 11-02-2011, 14:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How to start programing mecanum wheel drive ?

LabVIEW makes it easy.

In Begin.vi there is an Open 2 Motor Drive block. Delete the PWM and Inverted constants connected to it. Right-click the block and replace it with an Open 4 Motor Drive. Create constants on all of its inputs and assign the correct PWM outputs to the four motors on the corners of your drivebase.

In Teleop.vi there is an Arcade Drive block. Replace it with a Mecanum Drive block and figure out what joystick axis you want to use for rotation control.

That'll get you started. If you have specific questions, we can probably give you helpful answers.
Reply With Quote