Go to Post However, the best responses come with patience. It might be a couple of days before you get a good answer or it could be 10 minutes. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-22-2011, 11:24 AM
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Encoder as PIDSource

WPILib question.

Is there a reason that the Encoder class doesn't implement the PIDSource interface? I see that it includes the header file but it doesn't actually inherit from PIDSource. Is this just a "TODO" for the lib or is there something fundamental that prevents using an encoder as PIDSource?

I'm asking because I was thinking we might want to use a PIDController to control the position of a "elevator" on our robot. Example, I might have a victor (the PIDOutput) that controls a motor for a chain drive that moves the elevator up and down and an encoder that tells me when i have reached my desired position.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:34 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi