![]() |
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! |
Re: Encoder Guidance Needed
Quote:
|
Re: Encoder Guidance Needed
Quote:
The code should be self explanatory, but if you have any questions, reply back. Code:
Hope this helps, Kev |
| All times are GMT -5. The time now is 10:03. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi