|
Re: Joystick
The joystick value ranges from -1 to 1.
Multiply the joystick value by the percentage of power that you want.
e.g., .5 for 50% or .25 for 25% or .75 for 75% power
So, a joystick value of -1 (full forward) * .75 = -.75 (or 75% of full power)
Using this method will cost power on the turns as well as the straightaways though, and depending on your wheelbase/wheel stickyness/ground surface may make turning difficult.
A better answer is to change the sprocket ratio driving the wheels. Increase the sprocket sizes on the wheels to lower your speed and increase turning torque.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 24-06-2012 at 20:15.
|