View Single Post
  #30   Spotlight this post!  
Unread 03-10-2011, 11:08
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: pic: FRC973 Presents Emperor Swerve

Quote:
Originally Posted by AdamHeard View Post
We fixed the "weird electrical issues" and got it driving in much more responsive fashion.

If you try to read more than 4 encoders at 4x resolution, the remaining encoders will always repeat a zero value. After hours of debugging, seeing the encoders actually generate pulses, but not increment, we were going crazy. Austin on 254 tipped us off to the issue and we fixed it.

Video was taken, but it was on a tether cable. I promise we'll get good video this coming weekend when we drive with radios.
Ugh, don't get me started on encoders and the cRIO. We used a ton of encoders and it seems every combination you can think of using 4x, 2x, and 1x decoding would break something or other. I guess that's what happens when everything on the FPGA is a black box.

PHP Code:
A_ISR(){
   
+= (getB()) ? : -1;

All for 1,000th the price! Le sigh.

Last edited by Tom Bottiglieri : 03-10-2011 at 11:11.
Reply With Quote