|
Encoder Guidance Needed
Hello, my team is planning on using encoders, specifically the ones that were in FIRST Choice. I've looked though all the Java threads on them, but I can't make sense of how the Encoder class really works.
My team plans on using the encoder to move to desired set positions in autonomous and to prevent from going too fast.
For instance, I really don't know how the getDistancePerPulse() and how to use the other methods accordingly to get distance calculations. Samples code on setting up an encoder would be awesome!
__________________
Pedro
Ocala InZombiacs
|