View Single Post
  #2   Spotlight this post!  
Unread 15-02-2010, 21:03
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: [Help] Mecanum Drive Program

I don't recognize those icons, but I'll give what suggestions I can.

It's possible that your rectangular-to-polar conversion gives its output angle in radians, while the mecanum drive wants it in degrees. This would make you always travel within a few degrees of straight forward/reverse.

Mecanum wheels need to be set up so that you can not grab the robot and spin it easily by hand. The contact between the rollers and the floor should make an "O" or diamond shape. (If instead it's in an "X" shape, the robot won't be able to turn very well under its own power.)
Reply With Quote