Associate
- Joined
- 24 Jul 2009
- Posts
- 846
- Location
- Lost in Alps
Hi,
My maths ability is quite rusty and thus I turn to GD for some help.
Currently working on a robotics rover project, have the gamepad control up and running but looking to smooth out the throttle acceleration and heading.
For example I have a throttle input of 0-100, with 0=no throttle, 100=max throttle. I would like to calculate a more smoothed exponential curve on the controlling Arduino before sending motor value to the motor controller, so that the throttle value is quite low until say the gamepad input is at 70, i.e. the throttle curve is quite flat until about 70% gamepad input.
Most grateful for some maths help on this.
Cheers
My maths ability is quite rusty and thus I turn to GD for some help.
Currently working on a robotics rover project, have the gamepad control up and running but looking to smooth out the throttle acceleration and heading.
For example I have a throttle input of 0-100, with 0=no throttle, 100=max throttle. I would like to calculate a more smoothed exponential curve on the controlling Arduino before sending motor value to the motor controller, so that the throttle value is quite low until say the gamepad input is at 70, i.e. the throttle curve is quite flat until about 70% gamepad input.
Most grateful for some maths help on this.
Cheers
