View Single Post
  #2   Spotlight this post!  
Unread 08-02-2015, 13:36
dawonn's Avatar
dawonn dawonn is offline
Mentor
AKA: Dereck
FRC #2586 (Calumet Copperbots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Auburn Hills, Mi
Posts: 53
dawonn is an unknown quantity at this point
Re: Mecanum drive question

This is the first test I do every time I set up a new Mecanum system:

Put the robot on blocks so that the wheel can spin freely.

Command the robot to drive forward, all wheels should move forward in the same direction. Just as you would expect from tank drive.

Command the robot to rotate clockwise. the wheels on one side of the robot will rotate in the opposite direction of the other side. Again, just as you would expect from tank drive.

Command the robot to strafe. You should see the wheels on diagonals rotating in the same direction, and opposite of the other diagonal. That is the front left and rear right should rotate the same direction, and the front right and rear left should be rotating the same direction, but opposite of the other two.

Once this is working you can put it on the floor and it should drive correctly. If any of the joystick directions are backwards, invert them in your program.


Are you using the built in wpi implementation for Mecanum drive or did you write your own code?

Do you have your wheels installed in the correct locations? If you look at the top of each wheel, the axle for each roller should point in toward the robot.

With mecanum, it will not drive very straight without a gyroscope sensor. So you will need to constantly l provide a little rotation as you drive to keep the robot facing a particular direction. It's not hard but does take a little practice.

Last edited by dawonn : 08-02-2015 at 21:35. Reason: clarification.
Reply With Quote