View Single Post
  #1   Spotlight this post!  
Unread 19-02-2011, 00:00
kornjones kornjones is offline
Registered User
AKA: samuel
FRC #1522 (DOTM)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Hanover, Virginia
Posts: 17
kornjones is an unknown quantity at this point
Re: how to program mecanum wheel drive?

My team has been using mecanums for a few years and at the beginning of the year an alumni asked me to make a program that could take full advantage of the mecanum wheels instead of our usual tank drive with trigger strafe boringness. after much thought and many matrices i realized that if you subtract the y axis form the x axis for the front right and back left and add y and x axes for the front right and back left we could make what i like to call omnidrive. it basically made it so that the robot would move in any direction the stick was pointing. after some more finagling i put the controls on two sticks and fixed a few value issues and now we have 2 stick mecanum omnidrive. its pretty difficult to explain but its fantastic to drive. if anyone needs any help i am also available for assistance