|
Re: Set Motor Speed
You can cube the output of the joystick, or use some function like that. (Cubing is important by the way, because the odd number of multiplies preserves the negative sign. If you only squared then -1 would become 1)
This gives you a slower speed increase when the joystick is close to neutral, and a greater increase when it's almost at the end of it's range.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 18-02-2010 at 13:24.
|