View Single Post
  #3   Spotlight this post!  
Unread 16-01-2006, 12:27
Donut Donut is online now
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,304
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Speed Ramping with Deadzone

If I remember right, we've typically used a parabola approach, where the values closer to the center on the joystick are more precise and the values further out change speed much faster. Part of it depends on the year's robot, our robots have had very different speed abilities year to year.

As for ramping up the motors, we put a limit on how much a pwm value can change per loop, by comparing what we want to set the pwm value to and what the current value on the pwm is. If the difference is greater than the limit, it only changes by the limit for that loop.