Go to Post Good engineering often comes down to knowing the difference between "better" and "good enough." - dlavery [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 35 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 22-02-2011, 23:50
normalmutant's Avatar
normalmutant normalmutant is offline
Registered User
AKA: Nathan
FTC #3539 (Say Watt?)
Team Role: Alumni
 
Join Date: Apr 2010
Rookie Year: 2006
Location: Edison, NJ
Posts: 126
normalmutant has a spectacular aura aboutnormalmutant has a spectacular aura about
Re: [FTC]: PID Control in Robot C

Quote:
So say I want to push a button and this button using PID was to move a encoder to a certain position and since you are using PID it would keep it there. How do you implement PID in robotC code.
Here's basic encoder information. I think we gave it earlier when you were asking, though. http://say-watt.org/wp2/archives/391

PID wouldn't help much, from what I can tell. What you do is - when your arm or whatever thing is in the down position, set the encoder to 0, then when you press the button, have it move forward till the encoder click you want and tell it to stop.
I think that's how it works. I'm a hardware guy, so don't take my word for it. Email one of our coders at info@say-watt.org.
__________________
SAY-WATT.ORG
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 13:31.

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