Isn't your lowpass gain higher than 1 ?
01/03/2017 09:31 PM, Russell Gower rašė:
Hi,
I wonder if someone could help me diagnose an issue I have with trying
to use a low pass filter to stabilise the pyvcp spindle speed display in
Axis, I got the idea from
here http://linuxcnc.org/docs/html/examples/spindle.html
With the low pass filter in place the speed is displayed for a few
seconds then goes to “nan” and the following is output on the terminal I
launched machinekit from
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
return self.func(*args)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
func(*args)
File "/usr/lib/python2.7/dist-packages/vcpparse.py", line 154, in updater
a.update(pycomp)
File "/usr/lib/python2.7/dist-packages/pyvcp_widgets.py", line 1219,
in update
end, self.bh-1)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 2205, in coords
self.tk.call((self._w, 'coords') + args)))
ValueError: could not convert string to float: floating
If I remove the lowpass filter then the speed is displayed fine (apart
from the jitter).
My config files can be found here
https://github.com/russellgower/Lathe-Config.git
Thanks
Russell
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.