Thread: EP4 Encoder
View Single Post
  #4   Spotlight this post!  
Unread 01-02-2012, 08:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: EP4 Encoder

Quote:
Originally Posted by Fishpaste108 View Post
We are using the encoder class the the WPILib. I start the encoder in the robot init. Reset it upon entering tel-op.
Don't reset it. You'll always read zero if you don't let it count.
Reply With Quote