|
Re: Joystick
Our standard tank drive regular runs at 50% max speed with a turbo button that boosts it to 100%.
Basically you multiply the joystick output by a constant to send a range of -0.5 to 0.5 to the motor controller. When the turbo button is pressed you double the value. If then statements would work.
My programmer hates it when I look over his shoulder, but I probably could get the code snippets if you want.
|