#linuxcnc-devel Logs

Mar 07 2017

#linuxcnc-devel Calendar

09:27 AM skunkworks__: how would you go about smoothing this? A lowpass doesn't work well as the spikes are to narrow. maybe a sample and hold? (this is a ddt of an encoder count) - (attached usb)
09:28 AM skunkworks__: http://imgur.com/a/pVQKx?
09:28 AM skunkworks__: I want the velocity of the encoder count..
09:29 AM cradek: what component reads it? most of our encoder readers have smart velocity output
09:30 AM skunkworks_: right - this is the hb04 usb pendent
09:30 AM skunkworks_: userspace
09:31 AM cradek: ouch
09:31 AM cradek: you could try running a super-slow ddt
09:31 AM skunkworks_: hmm - worth a shot
09:32 AM skunkworks_: around 10 times a second it seems to update
09:32 AM cradek: that sounds terrible
09:32 AM skunkworks_: for this experiment - it is fine
09:54 AM skunkworks_: slow thread seems to give me something usefull...
11:18 AM jepler: if the spikes represent the polling interval of the userspace component itself, maybe the userspace component could output its own ddt estimate
11:18 AM jepler: it would have old sample, old sample time, new sample, and new sample time
11:19 AM cradek: ooh
11:27 AM skunkworks__: sure - I don't know if I can do that..
11:33 AM skunkworks_: Hmm - you cannot unlinkp a pin that has a : in it
11:44 AM jepler: skunkworks_: no problem here
11:44 AM jepler: tested with loadrt and2 names=p:q
11:44 AM jepler: halcmd: net x p:q.in0
11:44 AM jepler: halcmd: unlinkp p:q.in0
11:44 AM jepler: no errors shown
11:49 AM skunkworks__: hmm
11:49 AM skunkworks__: ok - I will play with it
12:00 PM skunkworks__: http://pastebin.com/rjmn0hwA
12:01 PM skunkworks__: This is an older master.. I will try the latest
12:02 PM cradek: isn't that a signal name?
12:17 PM skunkworks_: jeezes - probably.
12:17 PM skunkworks_: thanks
12:18 PM skunkworks_: Someday I will actually focus on one project for more than 5 minutes at a time
12:57 PM skunkworks: https://youtu.be/u9QqVx3_RgA
01:15 PM seb_kuzminsky: that's cool skunkworks
01:19 PM skunkworks_: linuxcnc is such a tool!
01:19 PM skunkworks_: :)
03:07 PM JT-Shop: is there a way in a terminal to tell if you have LinuxCNC Uspace installed?
03:10 PM seb_kuzminsky: JT-Shop: installed by deb? "dpkg -s linuxcnc-uspace"
03:14 PM JT-Shop: yes, thanks
03:16 PM seb_kuzminsky: or this looks easier to parse: dpkg-query -f '${db:Status-Status}\n' --show linuxcnc-uspace
03:19 PM JT-Shop: I like the dpgk one if you don't have uspace installed it says so
05:40 PM KGB-linuxcnc: 03Dewey Garrett 05master f1172c0 06linuxcnc 10src/emc/motion/simple_tp.c 10src/emc/motion/simple_tp.h simple_tp.h: provide macro TINY_DP for tiny_dp * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=f1172c0
05:58 PM skunkworks: andypugh, https://youtu.be/u9QqVx3_RgA
05:59 PM andypugh: I saw that _hours_ ago :-)
06:03 PM skunkworks: well - you check your email too much...
06:03 PM skunkworks: ;)
08:54 PM KGB-linuxcnc: 03Dewey Garrett 05dgarr/external_offsets 2022850 06linuxcnc 10(55 files in 13 dirs) External Axis Offset hal pins * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=2022850
11:39 PM seb_kuzminsky: linuxcnc.deb doesn't install on debian stretch because it can't satisfy its dependency on gstreamer0.10, among other things