On Saturday, April 07, 2012 09:35:28 PM Andy Pugh did opine:

> On 7 Apr 2012, at 04:32, gene heskett <[email protected]> wrote:
> > I'll have to read up on the lowpass function to see if it defines what
> > this "gain" setting means.
> 
> One would normally adjust it until it has the right effect, but to a
> first approximation a Gain of 1/10 means that the output is the average
> of 10 samples, though it isn't actually a rolling  average as such. The
> code is _very_ simple:
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/componen
> ts/lowpass.comp;h=ec68587b6ac25b26942eb470465dfe24f548cc40;hb=291fc50aa6
> 2774f2a2dbfce00fb17de152bd9f6b
> 
IOW, start at 0.5 for a 2 sample averaged output, 0.33333 for 3 , 0.25 for 
4 etc?  Sounds simple enough described your way.

Thanks Andy, & glad you are back & safe.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
"Life begins when you can spend your spare time programming instead of
watching television."
-- Cal Keegan

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to