That sounds like it can go in the 2.8 branch - I'll try and commit it soon.
Thanks Les!
Also, since you reported bug #579
(https://github.com/LinuxCNC/linuxcnc/issues/579), as of yesterday that should
be fixed in the latest 2.7, 2.8, and master branches. So if you would like to,
try using ON_ABORT_COMMAND again and see if it works for you.
Moses
On 8/17/19 8:58 AM, Les Newell wrote:
I have attached a rewrite of the lowpass component. This adds an option to use
either IIR or FIR filtering. It also adds optional integer inputs and outputs
(useful for MPGs) and scaling.
FIR filtering is better than IIR for smoothing noisy inputs and it also works
really well for smoothing MPGs. If you have a fairly low resolution MPG you can
have an issue where the individual pulses at low speeds and make the machine
shake. Feed the MPG through a lowpass with scale=100 and time=150. The output
goes to your axis jog-counts. Note that the output in this case is 100x the
input so you need to adjust jog-scale to suit. You may need to play with the
time a bit. Use as low a value as you can get away with.
With the default settings this version is of course a drop-in replacement for
the previous version of this component and uses the same algorithm.
Les
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers
--
And as it is appointed unto men once to die, but after this the judgment:
So Christ was once offered to bear the sins of many; and unto them that look
for him shall he appear the second time without sin unto salvation.
(Hebrews 9:27-28)
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers