View Single Post
  #5   Spotlight this post!  
Unread 21-02-2010, 12:39
AlftanSr AlftanSr is offline
Registered User
FRC #1013
 
Join Date: Feb 2010
Location: Arizona
Posts: 12
AlftanSr is an unknown quantity at this point
Re: Mecanum Drive Not Working

Squaring is a funny thing. All of your inputs are between -1 and 1.

If: -1 < x < 1
then: x > x^2

If you do away with squaring, the following calculations will be easier to debug:

Speed[NW] = y + x + twist;
Speed[NE] = y - x - twist;
Speed[SW] = y - x + twist;
Speed[SE] = y + x - twist;

Last edited by AlftanSr : 21-02-2010 at 12:43.
Reply With Quote