Does anyone have any successful code for ramping? We've been trying this for several years running, and have tried the following:
- A deadzone. The problem with this is it jumps in speed after the deadzone. We've tried several solutions, including modifying the code so it linearly starts at 128 immediately outside of the deadzone and finishes at 255.
- We've done the same thing with a parabola instead.
- We tried a one second delay in the response time, where it gradually ramps.
- One year our robot went waaay too fast. So in the end, the only successful approach was simply cutting the speed in half.
These have all given rise to bugs making steering more cumbersome. Has anyone had any more success?