View Single Post
  #6   Spotlight this post!  
Unread 02-02-2015, 14:46
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 wheels spinning too fast!

The easiest way to square the joystick input values is to set the "square inputs" terminal to TRUE when you open your drive motors and let the WPI library take care of it for you.

If you want to cube them, then take the value from each joystick axis and multiply it by itself, then multiply the result by the original value.
Attached Thumbnails
Click image for larger version

Name:	cube.gif
Views:	40
Size:	1.6 KB
ID:	18092  
Reply With Quote