|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WPILIB Encoder SetMInRate() Problem
When we use the GetRate() wpilib encoder method, the rate works except that we get an "inf" value when the encoders are still. The SetMinRate() or SetMaxPeriod() methods should force the output to zero the way I understand it. We tried both but still get the "inf" with the printout.
We use C++ and use this in the constructor: encoder->SetMinRate(1.); //to set min rate to 1 in per second Any ideas? |
|
#2
|
|||
|
|||
|
Re: WPILIB Encoder SetMInRate() Problem
This has been addressed at
http://forums.usfirst.org/showthread...7884#post27884 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Screwing Encoder into Encoder Mount? | Adrien | Electrical | 3 | 25-01-2009 18:14 |
| Using WPILib | RyanW | Programming | 1 | 19-01-2008 17:15 |
| Problem using VEX shaft encoder | jskene | Programming | 15 | 28-10-2007 22:33 |
| Encoder Problem | DustinB_3 | Programming | 22 | 03-01-2007 20:42 |
| Strange Encoder Problem | AIBob | Electrical | 3 | 20-02-2005 22:20 |