Thread: RPM calculator
View Single Post
  #1   Spotlight this post!  
Unread 25-02-2012, 19:40
cooltext cooltext is offline
Registered User
FRC #0835
 
Join Date: Jan 2012
Location: Michigan
Posts: 32
cooltext is an unknown quantity at this point
RPM calculator

I have the AS5030 rotary encoders and I was trying to find a way to calculate the RPM of our shooter motors with it. Does any one have any idea how to do so? I tried the counter class but I am having trouble selecting the

Code:
  AnalogTriggerOutput.Type triggerType
to use and how to calculate what voltage limits I should use for kTypeState.

Also how could I make it so it had a very small sampling time like .1 of a second?
Reply With Quote