View Single Post
  #1   Spotlight this post!  
Unread 03-02-2013, 23:31
l0stboy l0stboy is offline
Registered User
FRC #4064 (InZombiacs)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 22
l0stboy is an unknown quantity at this point
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
Reply With Quote