#linuxcnc-devel | Logs for 2016-05-25

Back
[00:00:03] <rob_h> how it effects multi spindles
[00:00:07] <andypugh> What does “SOV0 to SOV7<Gn030>” actually mean in terms of the G-code?
[00:01:32] <rob_h> its todo with Path or control if you like as its multi path control can run 2 or lots more programs indipenant but they can cross talk to each other in ways too , its always fun to program and proove out on mutli path controls :)
[00:02:06] <Tom_itx> yeah it looks to me that they can work together or separately
[00:02:23] <rob_h> it also sets which S1= which path/control, S2=wich path for multi path controls .. so if you do not write S1= or s2= in a program and just put Snnn then whcih ever path you write it in, commands that spindle
[00:02:26] <rob_h> kinda how it works
[00:03:29] <Tom_itx> isn't multipath ultimately what andy's after?
[00:03:59] <andypugh> No, that’s rather tooo hard
[00:04:02] <rob_h> no he wants a way to command a 2nd spindle.. or live tooling
[00:04:09] <Tom_itx> ok
[00:04:40] <Tom_itx> a first step toward that though
[00:04:41] <rob_h> multipathe into linuxcnc would be hard task to take on i think but a rewarding one as isee alot of multi turret & spindle lathes around now , just very old controls
[00:04:51] <andypugh> Well, actually, I started off just wanting to be able to home a spiondle for toolchanger use. But then fell down a number of rabbit holes.
[00:05:00] <Tom_itx> hah
[00:05:03] <rob_h> was one on Ebay in UK 5k bid dual spindle, dual turret
[00:06:20] <rob_h> was a Biglia make...
[00:07:50] <Tom_itx> the mitsu pdf spindle notes cover about 35 pages if it's anything that might help you... first glance it looks rather complete
[00:09:21] <andypugh> There seems to be many ways to do it, all of which need a major re-write of the LinuxCNC interpreter.
[00:09:51] <Tom_itx> if you want it to do more better things eventually that may be the case
[00:14:02] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[00:14:59] -!- sanjayb has quit [Ping timeout: 260 seconds]
[00:16:13] <andypugh> Time for me to sleep and forget where I was in this widely-spread hacking session :-)
[00:16:19] -!- andypugh has quit [Quit: andypugh]
[00:21:37] -!- teepee_ [teepee_!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[00:21:52] -!- teepee has quit [Ping timeout: 272 seconds]
[00:21:52] teepee_ is now known as teepee
[00:25:37] -!- zeeshan-shop has quit [Remote host closed the connection]
[00:25:45] -!- zeeshan has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/ - 64bit Windows version by http://kvirc.d00p.de/]
[00:30:41] -!- skunkworks__ [skunkworks__!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[00:30:43] -!- zeeshan [zeeshan!~kvirc64@CPE84948c379051-CM84948c379050.cpe.net.cable.rogers.com] has joined #linuxcnc-devel
[00:31:25] <skunkworks__> got to love it - linuxcnc expert
[00:31:31] <skunkworks__> http://www.cnczone.com/forums/uncategorised-cam-discussion/307546-cnc-software-3.html#post1888012
[00:42:35] <Tom_itx> must be, he's a gold member
[00:51:12] -!- kingarmadillo has quit [Ping timeout: 276 seconds]
[01:01:46] -!- rob_h has quit [Ping timeout: 272 seconds]
[01:11:37] <PCW_> hmm... maybe I should not answer forum questions when I'm a "snappy pappy" as my SO says
[01:11:55] <jepler> schroot is neat. I should have used it before now. with it and qemu-user-static, I can create a chroot on my x86_64 machine that identifies as being armhf (but only about 1/10 as fast, for that genuine arm-style experience :-P)
[01:12:26] <skunkworks__> aww - I like snappy pappy!
[01:20:56] -!- knownasilya_ has quit [Quit: Connection closed for inactivity]
[01:22:26] <jepler> This may take some time... done.
[01:22:30] <jepler> oh well it's finally done
[01:22:33] <jepler> This may take some time...
[01:22:37] <jepler> oh wait, now it needs to take some time again
[01:22:52] -!- pandeiro has quit [Remote host closed the connection]
[01:27:40] -!- kingarmadillo has quit [Ping timeout: 252 seconds]
[01:59:32] -!- DeltaF has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160502172042]]
[02:25:35] <jepler> real 7m28.173s
[02:25:45] <jepler> wow that's not bad at all for building linuxcnc in an emulated arm chroot
[02:26:21] <jepler> (real host is an 8-thread i7-4790K)
[02:26:24] -!- kalxas has quit [Quit: Goodbye]
[02:27:08] <jepler> curious, some test failures
[02:27:20] <jepler> -argv[0]=userspace_count_names
[02:27:20] <jepler> +argv[0]=/home/jepler/src/linuxcnc/armhf/bin/userspace_count_names
[02:27:41] <jepler> *** /home/jepler/src/linuxcnc/armhf/tests/halui/jogging: FAIL: test run exited with 1
[02:29:49] <jepler> hm besides the first failure which has to do with the exact value of argv[0] it looks like every test which starts linuxcnc fails. I wonder why.
[02:29:55] <jepler> first printed error message is
[02:29:55] <jepler> libnml/buffer/shmem.cc 507: SHMEM: Can't take semaphore
[02:30:47] <jepler> hm but this one worked and it runs linuxcnc: Running test: /home/jepler/src/linuxcnc/armhf/tests/io-startup/nonrandom/no-tool-in-P0
[02:32:54] <mozmck> could it be timing issues?
[02:33:19] <jepler> not sure yet, I'm waiting for the full run of tests to finish before I dig into any individual failure
[02:33:58] <jepler> I think something else bad has happened, though. this time, rtapi_app and halcmd are both spinning at 99%CPU
[02:34:33] <jepler> and hmm how do you attach a debugger to a qemu-arm-static process usefully anyway
[02:35:42] <jepler> my first guess is going to be, qemu-user-arm doesn't actually implement atomic operations and so it's just not going to work out very well
[02:36:39] <mozmck> hmm. can the tests be run after install on an arm system?
[02:37:30] <jepler> I'm not entirely sure what my goal is
[02:43:03] <jepler> 'night
[02:43:37] <mozmck> goodnight. I may be too stuck in Interp to go to bed.
[02:43:58] <jepler> https://lists.nongnu.org/archive/html/qemu-devel/2010-08/msg00884.html
[02:44:05] <jepler> > Currently, qemu implements this instruction as a load
[02:44:05] <jepler> followed by a store, in a way vulnerable to race conditions.
[02:44:18] -!- kingarmadillo has quit [Ping timeout: 276 seconds]
[03:46:49] -!- kingarmadillo has quit [Ping timeout: 252 seconds]
[04:47:37] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[04:49:16] -!- steves_logging has quit []
[04:54:57] -!- steves_logging [steves_logging!~Steve@wsip-70-182-2-252.dc.dc.cox.net] has joined #linuxcnc-devel
[05:02:08] -!- ve7it has quit [Remote host closed the connection]
[05:04:04] -!- Mathnerd314 has quit [Ping timeout: 264 seconds]
[06:25:21] -!- kwallace [kwallace!~kwallace@162.222.30.254] has parted #linuxcnc-devel
[06:49:40] -!- kingarmadillo has quit [Ping timeout: 264 seconds]
[07:09:04] -!- cmorley has quit [Ping timeout: 240 seconds]
[07:11:09] -!- teepee_ [teepee_!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[07:12:23] -!- teepee has quit [Ping timeout: 244 seconds]
[07:12:24] teepee_ is now known as teepee
[07:17:03] -!- sel [sel!~sel@net77-43-27-64.mclink.it] has joined #linuxcnc-devel
[07:24:27] -!- sel has quit [Quit: Leaving]
[07:39:34] -!- dnaleromj has quit [Ping timeout: 240 seconds]
[07:47:55] -!- rob_h [rob_h!~robh@2a02:c7f:5603:bc00:c83e:467d:e9b1:84c9] has joined #linuxcnc-devel
[07:55:51] -!- dnaleromj [dnaleromj!~dnaleromj@user-69-1-6-88.knology.net] has joined #linuxcnc-devel
[07:57:34] -!- Komzpa has quit [Ping timeout: 260 seconds]
[08:04:46] -!- pcw_home has quit [Ping timeout: 252 seconds]
[08:06:09] -!- kingarmadillo has quit [Ping timeout: 258 seconds]
[08:32:05] -!- b_b has quit [Changing host]
[08:32:42] -!- _longines has quit [Ping timeout: 276 seconds]
[08:44:25] -!- sel [sel!~sel@net77-43-27-64.mclink.it] has joined #linuxcnc-devel
[08:54:55] -!- pcw_home [pcw_home!~chatzilla@c-50-143-148-115.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[09:06:36] -!- kingarmadillo has quit [Ping timeout: 244 seconds]
[09:25:32] -!- sel has quit [Quit: Leaving]
[09:26:20] -!- gaute has quit [Ping timeout: 250 seconds]
[09:56:32] -!- Daerist has quit [Quit: Leaving]
[10:07:32] -!- kingarmadillo has quit [Ping timeout: 244 seconds]
[10:31:27] -!- cmorley [cmorley!~chris@S0106204e7f8c229b.no.shawcable.net] has joined #linuxcnc-devel
[10:49:50] -!- skunkworks__ has quit [Ping timeout: 258 seconds]
[11:17:26] -!- md-2 has quit [Ping timeout: 258 seconds]
[12:01:31] -!- cmorley has quit [Ping timeout: 258 seconds]
[12:13:29] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[12:16:16] -!- cmorley [cmorley!~chris@S0106204e7f8c229b.no.shawcable.net] has joined #linuxcnc-devel
[13:20:33] <skunkworks> I really shouldn't post when I am hangry
[13:20:34] <skunkworks> http://www.cnczone.com/forums/uncategorised-cam-discussion/307546-cnc-software-3.html#post1888346
[13:24:28] <archivist> https://xkcd.com/386/
[13:24:44] <skunkworks> exactly
[13:26:51] -!- kwallace [kwallace!~kwallace@162.222.30.254] has joined #linuxcnc-devel
[13:27:13] <archivist> one of his best cartoons
[13:48:56] <mozmck> is hangry a combination of hungry and angry?
[13:49:51] <skunkworks> yes
[14:01:04] <skunkworks> mozmck, how is commandcnc going?
[14:01:50] <mozmck> It's doing pretty well. Right now I'm trying to fix run-from-line in linuxcnc because that is becoming a major issue for us.
[14:02:09] <skunkworks> what issue?
[14:03:57] <mozmck> O subs with a G38.2 are seriously broken, and M66 delays are executed.
[14:04:40] <skunkworks> yeck.
[14:05:08] <mozmck> So if you try to RFL after an O sub with a G38.2, it thinks the move you are on is a G38.2
[14:05:34] <skunkworks> oh - double yeck
[14:06:00] <mozmck> Also, the delays in all M66 previous to the RFL point are executed - which in our case can add up a lot.
[14:08:21] <skunkworks> I am rooting for you!
[14:09:01] <skunkworks> are G4Pxx execited also?
[14:09:04] <mozmck> :-) thanks. It's more complicated than I had hoped it would be.
[14:09:18] <mozmck> I don't know about that - I should test and see.
[14:09:49] <mozmck> Just trying to figure out the flow of execution in the code is not easy.
[14:10:27] <skunkworks> I just assumed it was scary - just from what others have said about it.
[14:11:04] <mozmck> I'm to dumb to be scared, so I just jumped in :-)
[14:13:16] <skunkworks> riiiight
[14:13:34] <KGB-linuxcnc> 03Norbert Schechner 05master 657ba39 06linuxcnc 10lib/python/gladevcp/tooledit_widget.py GladeVCP - tooledit widget - bug in reload if decimal separator not dot * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=657ba39
[14:14:24] -!- pozzoni has quit [Ping timeout: 260 seconds]
[14:15:23] <KGB-linuxcnc> 03Norbert Schechner 05EU_Surplus_FastSeal 9f10423 06linuxcnc 03configs/sim/FastSeal/Kopie von lathe.tbl 10configs/sim/FastSeal/lathe.tbl 10lib/python/gladevcp/tooledit_widget.py EU_SURPLUS_tooledit widget bug found * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=9f10423
[14:15:24] <KGB-linuxcnc> 03Norbert Schechner 05EU_Surplus_FastSeal 46573bb 06linuxcnc Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into EU_Surplus_FastSeal * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=46573bb
[14:16:41] -!- sel [sel!~sel@net77-43-27-64.mclink.it] has joined #linuxcnc-devel
[14:17:52] -!- Mathnerd314 [Mathnerd314!~quassel@supertux/Mathnerd314] has joined #linuxcnc-devel
[14:19:51] -!- sel has quit [Client Quit]
[14:20:30] -!- patsy has quit [Quit: Life without danger is a waste of oxygen]
[14:53:14] -!- kalxas has quit [Changing host]
[15:23:09] <skunkworks> fast seal?
[15:24:16] <archivist> I am confused by that too
[15:25:04] -!- Daerist has quit [Quit: Leaving]
[15:26:08] <pcw_home> http://www.answers.com/Q/How_fast_does_a_seal_swim
[15:34:56] <KGB-linuxcnc> 03Norbert Schechner 05EU_Surplus_FastSeal fae63c5 06linuxcnc 10src/emc/usr_intf/FastSeal/FastSeal.py 10src/emc/usr_intf/FastSeal/release_notes.txt EU_Surplus_FastSeal - 0.6.5 - reload preview on tool modifications * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=fae63c5
[15:43:33] <jepler> I have a feeling that he is customizing his UI for a customer, but putting the result in public git.
[15:47:47] <skunkworks> ah.
[15:59:04] -!- Phosphero has quit [Quit: rcirc on GNU Emacs 24.5.1]
[16:00:20] -!- sel [sel!~sel@net77-43-27-64.mclink.it] has joined #linuxcnc-devel
[16:05:57] -!- kingarmadillo has quit [Ping timeout: 244 seconds]
[16:30:41] -!- sel has quit [Quit: Leaving]
[17:00:10] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[17:08:20] -!- md-2 has quit [Quit: Leaving...]
[17:23:26] <linuxcnc-build> build #3355 of 4008.deb-precise-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/3355 blamelist: Norbert Schechner <nieson@web.de>
[17:34:39] <linuxcnc-build> build #2183 of 4009.deb-precise-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4009.deb-precise-rtai-i386/builds/2183 blamelist: Norbert Schechner <nieson@web.de>
[17:35:59] <linuxcnc-build> build #3355 of 4007.deb-precise-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4007.deb-precise-i386/builds/3355 blamelist: Norbert Schechner <nieson@web.de>
[17:47:23] <linuxcnc-build> build #1223 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/1223 blamelist: Norbert Schechner <nieson@web.de>
[17:50:23] <linuxcnc-build> build #1927 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/1927 blamelist: Norbert Schechner <nieson@web.de>
[17:54:12] <linuxcnc-build> build #345 of 4017.5.deb-wheezy-armhf is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.5.deb-wheezy-armhf/builds/345 blamelist: Norbert Schechner <nieson@web.de>
[17:57:55] -!- mozmck has quit [Quit: Leaving.]
[17:59:12] -!- mozmck [mozmck!~moses@67.210.159.94] has joined #linuxcnc-devel
[17:59:48] <linuxcnc-build> build #1258 of 4015.deb-wheezy-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4015.deb-wheezy-rtpreempt-amd64/builds/1258 blamelist: Norbert Schechner <nieson@web.de>
[18:06:51] -!- Einherjer has quit [Remote host closed the connection]
[18:07:25] <linuxcnc-build> build #1923 of 4016.deb-wheezy-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4016.deb-wheezy-i386/builds/1923 blamelist: Norbert Schechner <nieson@web.de>
[18:09:41] <jepler> too bad his branch fails at packaging
[18:16:48] <linuxcnc-build> build #594 of 4022.deb-jessie-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4022.deb-jessie-amd64/builds/594 blamelist: Norbert Schechner <nieson@web.de>
[18:17:54] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[18:18:15] -!- Komzpa has quit [Ping timeout: 250 seconds]
[18:18:40] <linuxcnc-build> build #1615 of 4018.deb-wheezy-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4018.deb-wheezy-rtai-i386/builds/1615 blamelist: Norbert Schechner <nieson@web.de>
[18:20:26] -!- skunkworks has quit [Ping timeout: 244 seconds]
[18:22:41] <linuxcnc-build> build #595 of 4021.deb-jessie-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4021.deb-jessie-i386/builds/595 blamelist: Norbert Schechner <nieson@web.de>
[18:23:59] <linuxcnc-build> build #526 of 4019.deb-jessie-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4019.deb-jessie-rtpreempt-i386/builds/526 blamelist: Norbert Schechner <nieson@web.de>
[18:24:28] <linuxcnc-build> build #525 of 4020.deb-jessie-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4020.deb-jessie-rtpreempt-amd64/builds/525 blamelist: Norbert Schechner <nieson@web.de>
[18:57:37] <mozmck> Interp::execute() has quite a call graph: http://www.mcknight-instruments.com/images/classInterp_execute_cgraph.png
[18:59:39] <skunkworks_> yikes
[18:59:52] <skunkworks_> (but I have nothing to compare it to...)
[19:02:34] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[19:22:09] <linuxcnc-build> build #3356 of 4008.deb-precise-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/3356 blamelist: Norbert Schechner <nieson@web.de>
[19:23:47] <linuxcnc-build> build #1224 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/1224 blamelist: Norbert Schechner <nieson@web.de>
[19:26:15] <linuxcnc-build> build #3356 of 4007.deb-precise-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4007.deb-precise-i386/builds/3356 blamelist: Norbert Schechner <nieson@web.de>
[19:26:49] <linuxcnc-build> build #1924 of 4016.deb-wheezy-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4016.deb-wheezy-i386/builds/1924 blamelist: Norbert Schechner <nieson@web.de>
[19:28:55] <linuxcnc-build> build #2184 of 4009.deb-precise-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4009.deb-precise-rtai-i386/builds/2184 blamelist: Norbert Schechner <nieson@web.de>
[19:38:46] <skunkworks_> https://www.youtube.com/watch?v=hQmB4TmfJks
[19:42:29] <linuxcnc-build> build #346 of 4017.5.deb-wheezy-armhf is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.5.deb-wheezy-armhf/builds/346 blamelist: Norbert Schechner <nieson@web.de>
[19:43:08] <linuxcnc-build> build #1928 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/1928 blamelist: Norbert Schechner <nieson@web.de>
[19:52:28] -!- skunkworks_ has quit [Read error: Connection reset by peer]
[19:54:36] <linuxcnc-build> build #526 of 4020.deb-jessie-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4020.deb-jessie-rtpreempt-amd64/builds/526 blamelist: Norbert Schechner <nieson@web.de>
[20:05:44] <linuxcnc-build> build #1259 of 4015.deb-wheezy-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4015.deb-wheezy-rtpreempt-amd64/builds/1259 blamelist: Norbert Schechner <nieson@web.de>
[20:06:49] <seb_kuzminsky> skunkworks: wow, neat!
[20:12:42] <linuxcnc-build> build #595 of 4022.deb-jessie-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4022.deb-jessie-amd64/builds/595 blamelist: Norbert Schechner <nieson@web.de>
[20:13:11] <linuxcnc-build> build #1616 of 4018.deb-wheezy-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4018.deb-wheezy-rtai-i386/builds/1616 blamelist: Norbert Schechner <nieson@web.de>
[20:14:03] <linuxcnc-build> build #527 of 4019.deb-jessie-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4019.deb-jessie-rtpreempt-i386/builds/527 blamelist: Norbert Schechner <nieson@web.de>
[20:15:12] <linuxcnc-build> build #596 of 4021.deb-jessie-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4021.deb-jessie-i386/builds/596 blamelist: Norbert Schechner <nieson@web.de>
[20:20:26] -!- b_b has quit [Remote host closed the connection]
[20:40:26] -!- ve7it [ve7it!~LawrenceG@S010648f8b3c3bc3b.pk.shawcable.net] has joined #linuxcnc-devel
[20:58:32] -!- kingarmadillo has quit [Ping timeout: 244 seconds]
[21:30:42] -!- Tom_L [Tom_L!~Tom@ip68-102-196-26.ks.ok.cox.net] has joined #linuxcnc-devel
[21:30:42] -!- Tom_L has quit [Changing host]
[21:30:42] -!- Tom_L [Tom_L!~Tom@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[21:33:19] -!- Tom_L has quit [Client Quit]
[21:45:37] -!- chillly has quit []
[21:48:37] -!- andypugh [andypugh!~andypugh@cpc14-basl11-2-0-cust1010.20-1.cable.virginm.net] has joined #linuxcnc-devel
[21:52:54] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[22:09:49] -!- teepee_ [teepee_!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[22:10:20] -!- teepee has quit [Ping timeout: 272 seconds]
[22:10:20] teepee_ is now known as teepee
[22:12:52] -!- skorasaurus has quit [Ping timeout: 272 seconds]
[22:21:55] <andypugh> This is a rather unusual way to indent C++ : https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/task/emccanon.cc#L1855
[22:22:49] <andypugh> Err, wait a moment, now I am very confused.
[22:25:45] <andypugh> Unconfused, it just looks diffferent in my editor. Still unconventional.
[22:26:48] <andypugh> Not bothering with the curly-brace for a single-line else.
[22:28:17] -!- kingarmadillo has quit [Ping timeout: 250 seconds]
[22:33:31] <andypugh> I do find myself wondering if the emc command chain needs to be quite as conviluted as it is?
[22:35:07] <seb_kuzminsky> andypugh: my review, in poem form:
[22:35:15] <seb_kuzminsky> ah yes, a mixture of tabs and spaces
[22:35:22] <seb_kuzminsky> and lack of curly braces
[22:35:30] <seb_kuzminsky> sends me rocking
[22:35:34] <seb_kuzminsky> in the darkest of places
[22:35:44] * seb_kuzminsky takes a bow
[22:35:55] <andypugh> <polite applause>
[22:36:42] <andypugh> So, interp-convert calls enqueue_START_SPINDLE_COUNTERCLOCKWISE
[22:37:31] <andypugh> enqueue_START_SPINDLE_COUNTERCLOCKWISE adds a QSTART_SPINDLE_COUNTERCLOCKWISE to a queue
[22:40:35] <andypugh> Then later in the same file that becomes a call to START_SPINDLE_CLOCKWISE in emccannon
[22:41:29] <andypugh> Where a EMC_SPINDLE_ON object is created, and added to the interp list.
[22:41:55] <andypugh> Then a big case statement decides whether to act on the command or not
[22:43:16] <andypugh> And (i am a bit lost here) that causes a usrmotWriteEmcmotCommand(&emcmotCommand) object to be added to another queue.
[22:43:43] <seb_kuzminsky> usrmotWrite sends a message to Motion (motmod)
[22:45:34] <andypugh> Yes, I was looking at that, it seems to write a bunch of stuff the emcMotStatus structure.
[22:46:14] <andypugh> I am still looking for where that ends up changing a HAL pin value.
[22:46:33] <seb_kuzminsky> that'll be received in motion's command.c somewhere
[22:46:53] <seb_kuzminsky> it switches on the message type, and you continue tracing it from there
[22:51:29] <andypugh> command.c just sets the spindle speed in the status structure, it doesn’t set the HAL pin.
[22:51:55] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:585:8200:7a40:d0d5:13c1:9dae:52c] has joined #linuxcnc-devel
[22:53:07] <seb_kuzminsky> https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/motion/command.c#L1511
[22:53:09] <andypugh> That actually happens in control.c / output_to_hal
[22:53:23] <seb_kuzminsky> ah, right
[22:53:39] <seb_kuzminsky> why do things in one place when you can spread it all over like 10 files
[22:54:01] <andypugh> And pass the data through 4 structs and a class…
[22:54:23] <seb_kuzminsky> yep
[22:54:26] <seb_kuzminsky> have fun, bbl
[22:54:56] <andypugh> The class part really does feel like “Oooh, I lobe my Fortran, but classes are so cool, lets use some they are so modern”
[22:55:21] <seb_kuzminsky> it's old-skool C++ from back in the days when C++ sucked
[22:55:58] <andypugh> To be fair, I think that the class part is the NML interface, intended to be machine and transport agnostic?
[22:57:11] <andypugh> I only just noticed that spindle+ and spindle- (100rpm) commands are quest instructions all of their own. I had assumed that the GUIs just added 100 to the spindle speed command.
[22:57:43] <andypugh> (I have no idea what I meant to type where the word “quest” appeared)
[22:57:55] <seb_kuzminsky> "questionable"?
[22:57:58] <andypugh> Ah, probably “queued"
[22:58:03] * seb_kuzminsky <-- helpful
[22:58:11] <seb_kuzminsky> ok i'm really leaving now
[22:58:47] <andypugh> I will soon, I need more than a couple of hours to store all the places that I need to change stuff in my head.
[23:18:16] -!- emc [emc!~emc@198.45.191.246] has joined #linuxcnc-devel
[23:20:02] -!- kalxas has quit [Quit: Goodbye]
[23:26:34] -!- kingarmadillo has quit [Ping timeout: 252 seconds]
[23:29:05] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:585:8200:7a40:d0d5:13c1:9dae:52c] has parted #linuxcnc-devel
[23:56:44] -!- andypugh has quit [Quit: andypugh]