View Single Post
  #5   Spotlight this post!  
Unread 22-01-2011, 19:29
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: Encoder as PIDSource

For position control, the GetRaw() and/or GetDistance() methods will probably provide the data you need. As far as how to do it, a simple subclass of both Encoder and PIDSource that implements the PidGet method should do the trick.
Reply With Quote