Thread: Encoder trouble
View Single Post
  #12   Spotlight this post!  
Unread 16-02-2010, 00:43
Integral Integral is offline
Registered User
AKA: Ross
FRC #1130 (Robo Rebels)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Albany, Or
Posts: 22
Integral is an unknown quantity at this point
Re: Encoder trouble

Flameouts Mentor here,

Our wiring is correct and sound, as is the condition and installation of the encoders themselves.

We currently appear to have a good reading from the right encoder and for the left we get a flat 0. Perhaps more of an error condition? I have not been able to find any sign of an error thrown by any of the encoder vis.

I note in the first block (from the begin vi) of code flameout posted that neither of the encoders are set for reverse. Could this cause an error?

It really does not matter how we are viewing the output of the encoders, the posted code shows how we first initialise the encoders then how we read them. Can someone comment on the correctness of this code?