Thread: PID
View Single Post
  #7   Spotlight this post!  
Unread 04-01-2017, 13:54
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 305
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: PID

Quote:
Originally Posted by sspoldi View Post
Hi Noah,
Normally I wouldn't post (relatively) untested code, but if simple is what you want the attached may work for your needs. I just tossed this together the other day (I intend to make this a development task for some of our software kids, if you're on Team 230 stop looking!). BTW, we use the simple robot class with C++ and do our own loops, just seems to be easier that way.

Cheers,
Steve.

P.S. Don't tell MamaSpoldi I'm posting code, I'll get in trouble
No worries. I am always happy to post our code whenever it is needed by someone. Besides, as you mentioned, that is your code, not code developed by our students. Either way it is always good to share!
Save
__________________
Reply With Quote