Quote:
Originally Posted by GeeTwo
A simple way to still allow full top speed but give fine control at low speeds is to square the magnitude. You'll get 1/4 speed at half throw on your joystick, and full speed at full throw:
Code:
myRobot.tankDrive(stick1.getY() * Math.abs(stick1.getY()), stick2.getY() * Math.abs(stick2.getY());
|
Correct. Only if you don't want to limit your top speed.