View Single Post
  #8   Spotlight this post!  
Unread 23-02-2010, 12:41
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: Mecanum drive problems

Quote:
Originally Posted by mattom1992 View Post
Here's a screenshot of our current code for joystick control using the Extreme 3D Pro joystick.
No wonder you aren't getting any noticeable directional control. The "Mecanum - Polar" vi wants a direction specified in degrees. You're giving it the X axis of your joystick, which only ranges from -1 to 1.

I think all you need to do is change it to "Mecanum - Cartesian" and it should work as you expect. (You might also have to negate the sign of your rotation input, depending on whether your joystick twist has positive values to the left or to the right.)

Last edited by Alan Anderson : 23-02-2010 at 12:46.
Reply With Quote