View Single Post
  #8   Spotlight this post!  
Unread 06-12-2010, 13:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Kit opto encoder resolution?

Quote:
Originally Posted by Ether View Post
Forgive me if this has been asked and answered elsewhere; if so I haven't found it yet:

Per the above explanation, if 1x is reading only one channel, it wouldn't know which way the encoder is spinning, right? So the rate information with 1x wouldn't tell you whether the rate is positive or negative, right?

So if you wanted a rate that contained direction information, would you have to use the 4x?
There was a long thread (maybe last off-season) that went into a lot of detail about the encoder algorithm.

The 1x, 2x, and 4x only denotes how often measurements are made, the method of measurement is the same. In 1x, 2x, and 4x, the state of the opposite channel is used to determine direction.