|
Re: Java Encoder Problem
Patrick is correct inside of robotInit() you should call the start() method of each encoder that you are using. After that you should get values when you call getDistance().
One thing to note is that my team has had problems with getRate() and had to write our own getRate() method to get accurate results.
|