View Single Post
  #2   Spotlight this post!  
Unread 31-01-2013, 22:21
Team3266Spencer's Avatar
Team3266Spencer Team3266Spencer is offline
Team Captain and Lead Programmer
AKA: Spencer Lanman
FRC #3266 (Robots-R-US)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Richmond, Indiana
Posts: 280
Team3266Spencer is an unknown quantity at this point
Re: US Digital Encoder Distance/sec to Rpm

Most encoders, and I would assume yours, record the time between two "sprockets" inside the encoder. There are 360 of these bumps inside the encoder so a raw encoder reading will be in degrees. I don't program in LabView, but assuming it's the same speed settings, given with time in seconds, and you want RPMs, you would have to divide by 360 and multiply by 60, or just divide by 6. If you want to calculate distance travelled by a drivetrain lets say, you would need values such as the gear ratios used, and the diameter of the tires, etc.
__________________
2012: Buckeye Regional, Queen City Regional, Human Player
2013: Queen City Regional, Buckeye Regional, Crossroads Regional
Shooter Operator
2014: Crossroads Regional, Queen City Regional
Catapult Operator
2015: Georgia Southern Classic Regional (Winner), Queen City Regional
Chainsaw Operator
Want to talk? TeamSpeak: team3266.noip.me
Reply With Quote