Check to see what output you are using from the encoder hal componant.. *encoder.*/N/*.position-interpolated does what you need.
'*Position in scaled units, interpolated between encoder counts. Only valid when velocity is approximately constant, do not use for position control' http://linuxcnc.org/docs/2.3/html/man/man9/encoder.9.html * sam * Steve Blackmore wrote: > On Wed, 30 Sep 2009 10:50:58 +0100, you wrote: > > >> I am intending to make a better encoder. I think my problem is an >> unfortunate combination of things one of which is too-infrequent >> position updates, >> > > I think one of the problems I have is that there seems to be no > averaging on my spindle encoder values. I've done a test today that > highlights that problem. I ran a 1.5mm pitch thread at 200 rpm, with a > 125 ppr encoder and recorded the sound. The Z stepper is machine > gunning, stop/start/stop/start etc and not running smoothly. The spindle > speed isn't changing ( both my o'scope and a frequency counter confirm > that) but my system seems to think it is and incorrectly adjusts the Z > axis accordingly! > > I've no idea how, or if it's possible to average the encoder readout? > > Steve Blackmore > -- > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® 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-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
