View Single Post
  #1   Spotlight this post!  
Unread 16-01-2006, 10:13
Dan894 Dan894 is offline
Registered User
FLL #0894
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Flint, Michigan
Posts: 6
Dan894 is an unknown quantity at this point
Speed Ramping with Deadzone

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?