View Single Post
  #12   Spotlight this post!  
Unread 07-03-2013, 16:31
PhantomPhyxer PhantomPhyxer is offline
Registered User
FRC #2643
 
Join Date: Dec 2011
Location: San Jose, Ca
Posts: 27
PhantomPhyxer is on a distinguished road
Re: Shooter consistency

Quote:
Originally Posted by Ether View Post
How fast is "that fast"? The OP did not say what speed they are running their shooter at.

A "standard" US Digital E4P 250CPR encoder, if setup properly*, should be able to easily handle speeds up to 5000 rpm.



If the spokes are not wide enough, that detector will have difficulty keeping up at high speeds.


* connect only Channel A. Leave Channel B disconnected. Instantiate it as an up/down counter in the Counter class, and set it to count up only. Set the FPGA sample averaging ring buffer to 125. Use the getPeriod() method in the counter class, and compute rpm = 60/(250*period). See attachment.

You are correct; last year our team had to change from Optical encoders to the US Digital EP4 Encoders but we use 360 count encoders last year and this year.
Reply With Quote