View Single Post
  #7   Spotlight this post!  
Unread 04-02-2016, 12:41
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,025
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Finding RPMs with encoder

Quote:
Originally Posted by Sparx030 View Post
Correct me if I'm wrong but would the 480 counts be for 4x, 240 for 2x, and 120 for 1x?
That's my understanding of the WPILib code. But I'm not a WPILib guru.


Quote:
Also, I have been told that 4x deciding is needlessly complicated for what I am doing (maintain RPM on a shooter with a PID) would you agree with that and if so what do you recommend?
To answer that, I need more information.
What make and model encoder are you planning to use?

Where do you intend to mount the encoder?

How fast will the encoder be spinning at your shooter operating point?

Is the motor output shaft directly connected to the wheel? If not, describe the transmission.

What motor and motor controller are you planning to use?

Will you be connecting the encoder to the RIO, or to the motor controller (if SRX)?

Reply With Quote