View Single Post
  #15   Spotlight this post!  
Unread 11-02-2011, 15:26
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
Re: Programming Motors for Arm

Quote:
Originally Posted by Egg 3141592654 View Post
the process variable is the raw instantanious pot reading, the array of 3 values that are used to tune the loop (bottom always 0, mid is 0 or really small, top is the tuning number >0).
What should I set the top to? Can it be any number I want? And if so what would be the difference between, for example, 2 and 3?

And one of the posts said the top value is the one you set your motor to, so I figured this was just the motor output. However, one of the pics of code had a box with 1 on top and -1 on the bottom and the actual motor set leading from the left edge of the PID. Which is the correct way for our robot?
__________________

Last edited by dmitch : 11-02-2011 at 15:30.
Reply With Quote