Log in

View Full Version : Encoder information


Sparx030
30-01-2016, 18:10
I have an encoder (US Digital S4T) attached to a wheel and I'm trying to see how fast it is going in RPM's, when I run the wheel and have to encoder tell me the speed in the SmartDashboard it tells me 15,000. What does this number represent and how can I use it to translate it to RPM's. The code is very basic, encoder initialization with a .getRate() for the SmartDashboard, but if you do need it I can send what I wrote

cgmv123
30-01-2016, 18:13
getRate() only provides a meaningful value if you setDistancePerPulse() based on the Pulses Per Revolution spec of your encoders. The S4 has multiple PPR options, so I can't tell you a specific value.