View Single Post
  #7   Spotlight this post!  
Unread 07-02-2011, 09:39
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer is on a distinguished road
Re: Can you use a potentiometer to control motor position?

Quote:
Originally Posted by chadbarbe1 View Post
In Java you can look into using the PIDController class and start out with the I and D values equal to 0.

NOTE - to do this you'll have to implement a version of PIDInput (i think that's the correct name of the class) that reads from the potentiometer.
If I'm not mistaken, AnalogChannel already implements PIDSource.
Reply With Quote