View Single Post
  #1   Spotlight this post!  
Unread 01-27-2011, 03:11 PM
BradAMiller BradAMiller is online now
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 587
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Error in mecanumDrive_Polar of WPILIBJ

Quote:
Originally Posted by 85450 View Post
We determined that the mecanum drive function has an error. Specifically the line
double sinD = Math.cos(dirInRad);
should be
double sinD = Math.sin(dirInRad);

Can someone provide information on how to get this fixed in the WPILIBJ library.

Thanks!
You just did get it fixed. Will be in the next release. Thanks for the patch!
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote