|
Re: Exponential Motor Acceleration
Perhaps you are referring to contouring the joystick output exponentially?
Here is a joystick exponential mapping function which maps a Joystick value between 0 and +1, inclusive, to an adjusted value in the same range:
Joystick_adjusted = (1-bJoystick)/(1-b);
For range -1 to 0, use this:
Joystick_adjusted = -(1-b-Joystick)/(1-b);
b≠1 is a tuning parameter.
Example graph below with b=10
|