orc
Class QuadratureEncoder

java.lang.Object
  extended by orc.QuadratureEncoder

public class QuadratureEncoder
extends java.lang.Object

Represents a quadrature phase decoder input on the uOrc Board.


Constructor Summary
QuadratureEncoder(Orc orc, int port, boolean invert)
           
 
Method Summary
 int getPosition()
           
 double getVelocity()
          In ticks per second.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadratureEncoder

public QuadratureEncoder(Orc orc,
                         int port,
                         boolean invert)
Method Detail

getPosition

public int getPosition()

getVelocity

public double getVelocity()
In ticks per second.