View Single Post
  #4   Spotlight this post!  
Unread 22-01-2015, 13:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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
Attached Thumbnails
Click image for larger version

Name:	joystick_exponential.png
Views:	22
Size:	6.2 KB
ID:	17943  
Reply With Quote