Package me.wobblyyyy.pathfinder.robot
Interface Encoder
public interface Encoder
Simple interface used for communicating with encoders.
- Since:
- 0.1.0
- Author:
- Colin Robertson
-
Method Summary
-
Method Details
-
getCount
int getCount()Get the encoder's current count.- Returns:
- the encoder's count.
-
getCpr
double getCpr()Get the encoder's CPR (counts per rotation).- Returns:
- the encoder's counts per rotation.
-