View Single Post
  #7   Spotlight this post!  
Unread 02-03-2006, 13:22
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Motor Ramp Up/Ramp Down Function

If it works, I'd go with the KISS solution.

Team 237's ramp:
MOTOR += ( (signed char) (JOYSTICK - MOTOR) / RAMP_CONSTANT);

Our current RAMP_CONSTANT is 8, tune to your liking.
__________________
http://www.mikesorrenti.com/