View Single Post
  #13   Spotlight this post!  
Unread 22-02-2012, 19:09
Mr. Rogers's Avatar
Mr. Rogers Mr. Rogers is offline
That? That was in the CAD.
FRC #3539 (Byting Bulldogs)
Team Role: College Student
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Romeo, MI
Posts: 67
Mr. Rogers will become famous soon enoughMr. Rogers will become famous soon enough
Re: High Speed Encoder Problem

Quote:
Originally Posted by Tom Line View Post

If that ends up still being noisy, you can average, or calculate over more than one loop. Also, make sure you're running in single sample mode rather than 4x to remove phase errors.
Yeah, I was wondering if we could do that. All the java classes for encoder need an A and B channel. Could we just sample pulses from one digital port and compare it against the code's timer????
__________________
Grow the roses of success!
2011 Archimedes 2nd seed,
2011 Waterford Champion, 2011 Troy Simi-Finalist,
2011 Waterford Rookie all star, 2011 Troy Rookie all star
http://www.bytingbulldogs.com/