Thread: Set Motor Speed
View Single Post
  #4   Spotlight this post!  
Unread 18-02-2010, 13:13
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Set Motor Speed

Quote:
Originally Posted by Mark McLeod View Post
You can cube the output of the joystick, or use some function like that.
This gives you a slower speed increase when the joystick is close to neutral, and a greater increase when it's almost at the end of it's range.
Mark, I believe what he was describing was that he wanted to slow the spin-up time of the motor even when the joystick gets mashed full on/off. I may be wrong on this, but I think the joystick smoothing algorithm will only affect the instantaneous mapping of input to output, and not add the "inertia" he's looking for.

However, I don't have a clear solution for what I'm interpreting his problem as.
Reply With Quote