Back
[00:23:19] <jepler> mozmck: no not really
[00:24:09] <jepler> I have no interest in developing software that works with mach, but some idle curiosity about what documentation is public.
[07:48:35] <KGB-linuxcnc> 03John Thornton 052.7 725165f 06linuxcnc 10docs/src/Submakefile 10docs/src/common/linux-faq.txt 10docs/src/index.tmpl Docs: fix expand/collapse in html docs. * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=725165f
[09:59:53] <jepler> huh I had no idea such a function was specified in POSIX: FILE *fmemopen(void *buf, size_t size, const char *mode);
[10:02:43] <skunkworks> is that good?
[10:04:15] <jepler> it lets you treat a region of memory like a file on disk for reading or writing, which is going to be useful sometimes
[10:04:30] <jepler> dpkg-deb: building package `linux-image-4.1.0-1-rt-686-pae' in `../linux-image-4.1.0-1-rt-686-pae_4.1.3-1.1_i386.deb'.
[10:04:40] <jepler> might have some 32-bit rt packages later today
[10:32:33] <Tom_itx> skunkworks, do you recall where andy's carousel example code was?
[10:34:31] <pcw_home> Hasn't it been merged into 2.7?
[10:34:53] <Tom_itx> the docs are but i was looking for his example
[10:41:10] <Tom_itx> remotes/origin/andypugh/carousel_demo but how do i view that locally?
[10:59:38] <jepler> 2.7.0-pre7 has this mention in its changelog: * add a carousel toolchanger component and a vismach sample config
[10:59:59] <jepler> so I expect that if you are using a current 2.7 version that you have the config. it's in configs/axis/vismach/
[11:05:46] <pcw_home> For stepgen feedback, required FF2 seems to be determined entirely by delay between position read and velocity write
[11:05:48] <pcw_home> (tested at 1 KHz and 3 KHz same FF2 value works, I can change delay by adjusting DPLL position sample point )
[11:14:16] <Tom_itx> jepler, thanks
[11:14:41] <pcw_home> with a read/write time change of 150 usec, FF2 went from .000125 to .000270 (same at 1 KHz and 3 KHz)
[11:15:56] <pcw_home> a rather suggestive number since its almost exactly the FF2 value change in seconds
[11:36:46] <jepler> indeed
[12:21:58] <jepler> by implementing rtapi_task_latency() that knows what the nominal task invocation time was, it's possible to get proper one-sided latency histograms.
http://emergent.unpythonic.net/files/sandbox/jepler-15Aug2015-65.png
[12:22:12] <jepler> but I've only implemented it for uspace so far, haven't looked at doing it for rtapi
[12:23:11] <jepler> er for rtai
[12:27:32] <pcw_home> I'm so used to looking at mirrored ones that that looks funny even though its correct
[12:32:04] <jepler> and dropping the empty left half
http://emergent.unpythonic.net/files/sandbox/jepler-15Aug2015-22.png
[12:32:30] <jepler> .. though there still exists the possibility of a negative latency if clock_nanosleep is permitted to return early
[12:36:02] <jepler> http://emergent.unpythonic.net/files/sandbox/one-sided-latency.patches.mbox
[14:13:49] <cradek> that's neat
[14:14:11] <cradek> it's cool that you can see the minimum latency too, and it's sure sharp
[14:15:35] <pcw_home> Yeah the minimum gets overwritten on the folded display
[14:21:23] <cradek> very early versions of emc did that wrong thing with the tool table (interpreted lengths and diameter according to g20/g21)
[14:21:50] <cradek> also, it did the same with offsets! g20/g21 were unusable.
[15:47:45] <jepler> cradek: yes, it's quite sharp
[17:22:20] <Tom_itx> mmm i'm still not finding the carousel demo
[17:25:54] <Tom_itx> wonder if apt-get pulled those in...
[17:33:42] <Tom_itx> ok
[17:33:50] <Tom_itx> wow that was buried deep
[17:35:22] <Tom_itx> usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/vismach/VMC-toolchange
[17:43:45] <pcw_home> thats where locate can help
[17:43:58] <Tom_itx> i did
[17:44:01] <Tom_itx> :)
[17:44:17] <Tom_itx> now how can i launch the associated ini in that directory?
[17:44:24] <Tom_itx> i tried mapping an icon to it...
[17:44:26] <Tom_itx> no joy
[17:45:12] <atom1> the ini is vmc_index.ini
[17:45:33] <atom1> in that directory
[17:53:36] <atom1> i wonder if i need python plugins for this to work
[17:53:58] <atom1> ImportError: no module named stdglue
[17:55:11] <atom1> i do get a cool little graphic before it bombs though
[17:55:55] <atom1> i'll wait for andy
[17:57:28] <Tom_itx> i did have to move it out of readonly space to a user directory
[18:00:53] <Tom_itx> emctaskmain.cc 3006 can't initialize interpreter
[20:06:03] <jepler> I have used it from a rip setup. I haven't tried it from a package so it would be good for someone to check.
[20:17:59] <Tom_itx> updated from previous 2.7 using apt-get
[20:18:30] <Tom_itx> ubuntu 10.04
[20:18:38] <Tom_itx> it's possible something is outdated or missing
[20:26:22] <jepler> I tested on Debian Jessie and maybe Wheezy
[20:33:32] <seb_kuzminsky> works for me on wheezy (2.7.0~pre7 installed by deb from wlo)
[20:46:13] <Tom_itx> i get the graphic then it quits with errors
[20:55:47] <jepler> the debian wheezy packages can be installed on a jessie system that was updated from wheezy, but some packages not available in jessie are pulled in in the process
[20:55:59] <Tom_itx> i could swap hdd for the ssd and try wheezy i suppose
[20:56:25] <jepler> hm but it exits with an error
[20:56:26] <Tom_itx> this is lucid
[20:56:51] <jepler> _tkinter.TclError: NULL main window
[20:57:24] <Tom_itx> i'm not running from a terminal
[20:57:30] <Tom_itx> icon on the desktop mapped to it
[20:57:51] <jepler> hm, affects regular axis sim configs too
[20:58:08] <jepler> so scratch that: linuxcnc-uspace from wheezy debs on jessie doesn't work
[20:59:02] <jepler> Tom_itx: I launched linuxcnc from a terminal so I could see messages, but I used the gui picker to choose and copy the vmc config
[21:00:07] <Tom_itx> how would i specify a config from the cmd line?
[21:00:13] <Tom_itx> i'll try it once
[21:01:24] <jepler> you just specify the path to the .ini file
[21:02:02] <atom1> yeah i ran it
[21:02:16] <atom1> emc/task/emctaskmain.cc 3006: can't initialize interpreter
[21:02:49] <atom1> initialize: module '/home/tom/linuxcnc/configs/VMC_toolchange/toplevel.py' init failed:
[21:03:19] <atom1> File "./remap.py", line 3, in <module>
[21:03:19] <atom1> from stdglue import *
[21:03:21] <atom1> ImportError: No module named stdglue
[21:16:23] <atom1> not sure where that comes from
[21:19:47] <jepler> $ ls -ld ~/linuxcnc/nc_files/remap_lib
[21:19:47] <jepler> lrwxrwxrwx 1 jepler jepler 37 Aug 15 20:33 /home/jepler/linuxcnc/nc_files/remap_lib -> /usr/share/linuxcnc/ncfiles/remap_lib
[21:19:59] <jepler> I suspect you don't have this symlink or it is pointing to an incorrect destination
[21:20:06] <jepler> probably this is going to be an upgrading issue
[21:20:50] <jepler> (your home directory name is not /home/jepler of course)
[21:25:02] <atom1> says ....remap_lib is a directory
[21:28:52] <jepler> it is inside that directory where stdglue.py is expected to come from
[21:29:07] <atom1> yeah i see it there
[21:29:14] <jepler> nc_files/remap_lib/python-stdglue/stdglue.py
[21:29:31] <jepler> the copy of the config in your ~/linuxcnc/configs, how did you put it there?
[21:29:44] <atom1> copied it
[21:29:51] <jepler> by hand or by the linuxcnc config picker?
[21:29:56] <atom1> by hand
[21:30:00] <atom1> didn't see it in the picker
[21:30:03] <jepler> do it by the linuxcnc config picker
[21:30:27] <atom1> i used the picker with a generic one then copied the files and redirected the link
[21:31:00] <jepler> look under "Sample Configurations" > sim > axis > vismach
[21:31:18] <jepler> selecting a sample config updates certain paths after copying
[21:31:56] <atom1> ok i had to go a little deeper but i see it
[21:33:59] <jepler> and is the outcome any different?
[21:34:59] <jepler> afk
[21:36:34] <atom1> yep thanks
[21:37:45] <atom1> that is very cool
[21:54:55] <jepler> hah silly me -- the 4.1 rt kernel was already in jessie-backports
[21:54:58] <jepler> https://packages.debian.org/jessie-backports/linux-image-4.1.0-0.bpo.1-rt-amd64
[21:55:15] <cradek> oh noooo
[21:57:41] <jepler> 3 days ago
[22:02:23] <jepler> so in summary I would love to see jessie preempt-rt be an architecture for 2.7, possibly one with an installer .iso even
[22:04:17] <cradek> that would be terrific