View Single Post
  #6   Spotlight this post!  
Unread 12-03-2009, 10:02
Steve Compton Steve Compton is offline
Project Manager, Mentor
FRC #1391
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Philadelphia PA
Posts: 75
Steve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to behold
Re: Problem with quadrature encoder

Thanks Mike, Greg and Joe. My programmers think it's something to do with the FPGA counters. We're using 128 bit grayhills, but we've seen the same results when we were using ultrasonics earlier in the season:

quote from progammer
"With the Ultrasonics in particular I used several methods. Whenever I used the
FPGA counters, things broke. These are the same counters the encoders use and we are getting similar dysfunction."

Also, we loaded the out of the box 'encoder example' and this is the result:

"so I just loaded up the example out of the box. It broke the same way,
no matter what the averaging and minimum sample settings."

any thoughts?