View Single Post
  #3   Spotlight this post!  
Unread 17-02-2010, 21:42
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Programming Pots

Am I correct in assuming that the motor turns full on when the pot value is less then the joystick and doesn't turn off until after it goes past?

You can set up a PID Loop to control the overshoot even if you are only bringing it to one position. A quick search of CD will give you a lot of information. Basically you are going to take the difference between the value of the joystick and the potentiometer to set the speed of the motor (needs to be on a speed controller of course).
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers