|
Re: how do I ramp up the wheels slowly
I haven't read Eric's article but the use of filters isn't limited to floating point joystick position readings. You can also take a boolean value, convert it to a floating point 1 or 0 ("boolean to 1:0") and then pass the value through a point-by-point or similar lowpass filter (this is probably one of Eric's suggestions). The filter cut-off frequency would dictate the response time.
You could also pass the 1:0 value through a leaky integrator (if 1 then add a little bit (clamp to max value), else decrement a little bit (clamp to a min value)).
Russ
|