View Single Post
  #6   Spotlight this post!  
Unread 30-01-2017, 07:55
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 517
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Encoder Question

Quote:
Originally Posted by YairZiv View Post
Well, the simplest way to check your distance per pulse is finding out how many pulses you get in one rotation (using the encoder to print how many pulses you've passed through in the SmartDashboard or something like that). Then use 1 / theNumberYouGot as the distance per pulse.
Ok that makes sense but how we figure that into rpm? We would have pulses per rotation.

Quote:
Originally Posted by EmileH View Post
What type of Motor Controller are you using? If you're wiring your encoder into the Talon SRX, you can call YOUR_TALON_OBJECT.getSpeed() to get the RPM of the sensor.
We are using a talon srx but we are not using an encoder. We are using a gear tooth sensor.
Reply With Quote