Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   WPILIB Encoder SetMInRate() Problem (http://www.chiefdelphi.com/forums/showthread.php?t=74764)

vamfun 17-02-2009 04:20

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?

vamfun 28-02-2009 17:58

Re: WPILIB Encoder SetMInRate() Problem
 
This has been addressed at
http://forums.usfirst.org/showthread...7884#post27884


All times are GMT -5. The time now is 02:46.

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