|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
|
|
#2
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|