2009/10/4 Gene Heskett <[email protected]>:

> That looks better, but something is still giving the encoder.0.velocity a big
> kick occasionally.

I think those are on the occasions that both channels change state in
the same sample. That does mean infinite velocity, after all. (Does
the encoder code cap velocity at 1/base thread frequency?)

I suspect that is due to aliasing and the short duty-cycle of the A
channel. Occasionally you get unlucky with the sample frequency and
catch both changing at the same time.

-- 
atp

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to