View Single Post
  #2   Spotlight this post!  
Unread 02-09-2015, 11:33 PM
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: PID control help

Quote:
Originally Posted by KosmicKhaos View Post
So I'm a new programmer on my team and I'm not very familiar with PID loops/controls. We have two motors on our robot and were trying to run them both at the same speed. of course there will be some minor differences in speed but we're trying use a PID to keep them equal in case one gets off. We also have encoders on each motor. Any help appreciated thanks!
Do you need the position of each encoder to map, or just their rate? In other words, is it OK if one gets up to 100 clicks per second a little ahead of the other and then the two even out to 100 clicks a second? Or do you want the distance on each encoder to be as identical as possible?
Reply With Quote