View Single Post
  #5   Spotlight this post!  
Unread 12-02-2007, 14:57
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: OI potentiometer for controlling turret

Quote:
Originally Posted by Matt Krass View Post
In reply to kaszeta's post, what you've described is a P loop only, there is no ID control in that, see the formulas in my paper for further examples of that control.
Yeah, I should've been clear that the example I gave is P-only code (the code I lifted it from was a full PID loop, but I figure it was best to leave some of it for the reader to implement themselves).