|
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.
|