View Single Post
  #6   Spotlight this post!  
Unread 16-02-2012, 12:30
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 105
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Damping the joystick at 1

Quote:
Originally Posted by billbo911 View Post
There is a "PID" function in LabView that does exactly this. Search for "rate limit".
We are using this to keep us from stripping gears on our ball pickup if we reverse directions quickly on it.
Find a control value that works well by experimentation. For our ball pickup, a value of 45 is good. For drive control, you may want a higher number.
I agree, a PID block would also work well in this case. The VI that I created is essentially the Proportional (P) section of a PID block.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote