|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Encoder getRate question
A made a modified Counter class, to be used with PIDController and has 120 samples to average. It works wonderful. Thank you Ether.
|
|
#2
|
||||
|
||||
|
Re: Encoder getRate question
Quote:
Would you be willing to post your modified Counter class? It would be a service to the FRC community. There are other teams/individuals who need some help figuring out how to do this. Last edited by Ether : 13-03-2013 at 15:01. Reason: typo |
|
#3
|
||||
|
||||
|
Re: Encoder getRate question
In case anyone else was looking for a source code example...
Looks like Joe Ross posted a patch to the Encoder and Counter classes for Java. http://firstforge.wpi.edu/sf/go/artf...v=1&_pagenum=1 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|