View Single Post
  #4   Spotlight this post!  
Unread 14-01-2014, 01:53
mmaunu's Avatar
mmaunu mmaunu is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2010
Location: San Diego, CA
Posts: 89
mmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the rough
Re: Mecanum forward rotation error

It sounds like your wheels aren't spinning in the correct directions. We had similar problems a couple of years ago. Have you inverted the motors on the left side (or right side) like Joe mentioned? This ended up being the cause of our woes; we hadn't inverted any of our motors.

First, are your wheels mounted correctly? When you look down on the robot from above, do the front rollers want to roll in towards each other when the robot moves forward? Do the back rollers want to roll away from each other? Here is a top-down view:

\.........../
\.........../
\.........../
.............
.............
/...........\
/...........\
/...........\

Put your robot up on blocks and look at the way the wheels spin (again, look from above).
1) When you direct the robot to go forward, all wheels should spin forward.
2) When you direct the robot to go backwards, all wheels should spin backwards.
3) When you direct the robot to strafe right: the right front wheel should spin towards the back of the robot, the right back wheel should spin towards the front, the left front wheel should spin forwards (towards the front), and the left back wheel should spin backwards (towards the front).
4) Test again with strafe left: left front should spin towards the rear, left rear towards the front, right front towards the front, and right rear towards the back. (The wheels diagonally across from each other should turn in the same relative direction.)
5) When you rotate clockwise, the right wheels should rotate towards the back of the robot and the left wheels should rotate towards the back of the robot. (The wheels on the same side of the robot should turn in the same direction...and each side of the robot should turn in opposite directions.)
6) When you rotate counter-clockwise, the right wheels should rotate towards the front and the left wheels should rotate towards the back.

I am not sitting in front of a robot so take those directions with a tiny grain of salt. Somebody feel free to correct me.

Again, it sounds like a symptom that we had to track down before. Try inverting the left motors but not the right (or vice-versa). This can be done in code (Java and C++ have method calls on the speed controllers and LabView allows you to set this property as well).

I hope that this helps. Mecanum is fun to drive ~(_8^()
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
Reply With Quote