View Single Post
  #3   Spotlight this post!  
Unread 02-09-2015, 11:38 PM
KosmicKhaos's Avatar
KosmicKhaos KosmicKhaos is offline
Calm Cool Collected
AKA: Andrew Thompson
FRC #1126 (SparX)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Webster NY
Posts: 135
KosmicKhaos has a spectacular aura aboutKosmicKhaos has a spectacular aura about
Re: PID control help

Quote:
Originally Posted by cstelter View Post
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?
We are trying to have each motor at the same speed and if the encoder notices that the speeds aren't the same we would like for the slower one to speed up or the faster one slow down so the speeds are equal. We were thinking that the motors start at the same speed but after a little while of running the speeds my get off, if they do we want to make them equal again. The loop essentially keeps the motors the same speed These motors are controlled by the driver and both with one button.

Last edited by KosmicKhaos : 02-09-2015 at 11:57 PM.
Reply With Quote