![]() |
Question about QuadEncoders [C++]
what does the Get function in Encoder class return? detailed explaination if you can, please :)
|
Re: Question about QuadEncoders [C++]
from Encoder.cpp:
Code:
/**Your other option is GetPeriod, which: "Returns the period of the most recent Quad Encoder pulse in microseconds." |
Re: Question about QuadEncoders [C++]
well, but what happened if I change the direction, will the Get function give me the duplication of ticks or maybe the distance it passed?:confused:
|
Re: Question about QuadEncoders [C++]
Quote:
I am not sure if GetPeriod will return a negative encoder period or not. |
Re: Question about QuadEncoders [C++]
No, GetPeriod will not return a negative number. It simply returns time passed between the last two pulses.
And yes, Daniel is right about the values Get() returns. |
| All times are GMT -5. The time now is 00:13. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi