Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   Encoder information (http://www.chiefdelphi.com/forums/showthread.php?t=142887)

Sparx030 30-01-2016 18:10

Encoder information
 
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

Re: Encoder information
 
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.


All times are GMT -5. The time now is 08:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi