Go to Post All I want for Christmas is a better game hint, a better game hint, a better game hint... - Schnabel [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 68 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #14   Spotlight this post!  
Unread 26-02-2013, 14:54
lori558 lori558 is offline
Registered User
FRC #3250
 
Join Date: Jan 2013
Location: Sacramento, CA
Posts: 9
lori558 is an unknown quantity at this point
Re: PID vs Bang-Bang for Shooter Consistency

Quote:
Originally Posted by Ether View Post
OK, that is what I was concerned about. That photosensor isn't exactly a speed demon. It needs a wide stripe. The wider the better (up to 180 degrees of arc, no more).

Okay great, I was concerned that the stripe was too thick to provide an accurate count. That gives me some relief, thank you.


We tested the code that billbo911 posted and it worked!
With a few very minor adjustments we got it to work specifically for our robot perfectly. I pulled up a graph of the speed and output and it was very consistent.

I think our problem this whole time has just been the fact that we were making it too complicated. In addition, when I was first looking into the bang-bang theory I did not understand it all that well but this really clears it up.

Thanks everyone for taking the time to help out with this! It really helps our team out.

Last edited by lori558 : 26-02-2013 at 14:58.
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 12:10.

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