#emc-devel | Logs for 2009-10-26

Back
[01:14:35] <jepler> jepler has changed the topic to: EMC2 development -- http://linuxcnc.org/ | Latest release: EMC 2.3.4 | channel logged by logger_dev
[03:04:32] <cradek> darn, missed mshaver
[03:07:43] <cradek> had some fun tonight making some little parts - cut aluminum dry at high speed with coated carbide
[03:07:53] <cradek> I didn't have the spindle speed for that before
[03:08:27] <cradek> heh, I tried it that way because I don't have coolant nozzles yet...
[03:09:08] <skunkworks> Neat@
[03:10:08] <cradek> when I tried that on the bp it just howled - this is cool.
[03:11:06] <cradek> also, having a tool changer is so nice. spot drill plus two more drills plus an end mill? no problem!
[03:22:41] <skunkworks> :) what is the BP going to be used for now? ;0
[03:24:36] <cradek> nothing until I reassemble it...
[03:25:16] <cradek> it has to be assembled to use or show it running for sale - it has to be disassembled to remove from the garage.
[03:25:31] <cradek> pretty sure I will reassemble it ... one of these days.
[06:06:11] <CIA-48> EMC: 03cmorley 07master * r89a89fef0915 10/src/emc/usr_intf/pncconf/ (pncconf.glade pncconf.py): Fix found tuning test problems
[07:22:02] <micges_work> good morning
[13:15:08] <skunkworks_> logger_dev: bookmark
[13:15:09] <skunkworks_> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2009-10-26.txt
[14:07:28] <skunkworks_> cradek: archivist might like to test your patch..
[14:14:23] <cradek> I'm going to do some more sim testing... but if anyone wants to try it, I'd like the input.
[14:53:39] <jepler> cradek: is c63a4c862f50014d3512352fd7b164bb8ce2b98d suitable for 2.3?
[14:53:48] <jepler> I didn't look at the patch but the change message sounds like it might be
[14:58:02] <cradek> well it fixed the problem dewey found, and it didn't break any of the tests...
[14:58:09] <cradek> so it probably should be backported.
[15:29:39] <dgarr> for consideration: add pin to clear axisui notifications: http://www.panix.com/~dgarrett/stuff/0001-create-pin-axisui.notifications-clear.patch
[15:53:53] <jepler> dgarr: I'll give it a shot
[15:53:57] <jepler> looks pretty straightforward
[15:54:39] <dgarr> i just followed the pattern for set_manual_mode; thanks for looking at it
[15:55:22] <dgarr> it's very useful to put up notifications and clear them automatically!
[15:56:39] <cradek> jepler: I remember you had a way to get an operator message sent from hal. did you do this by adding it to halui? I couldn't find anything in the archives.
[15:57:42] <jepler> cradek: use rtapi_print_msg(RTAPI_MSG_ERR). http://media.unpythonic.net/emergent-files/sandbox/error.comp
[15:57:59] <cradek> aha!
[15:58:10] <cradek> thanks
[16:03:04] <jepler> cradek: what do you want me to do with this touchy change of widget highlighting and mouse cursor?
[16:11:19] <jepler> cradek: http://emergent.unpy.net/files/sandbox/0001-Stop-the-pointed-at-button-from-looking-different.patch
[16:11:26] <jepler> http://emergent.unpy.net/files/sandbox/0002-don-t-show-a-mouse-cursor-pointer.patch
[16:13:26] <cradek> do it!
[16:13:30] <jepler> both parts?
[16:13:32] <cradek> I tried the first one - it looks great
[16:13:37] <cradek> sure, I'll try it
[16:13:43] <cradek> (I tried unclutter, but it doesn't work well)
[16:13:47] <jepler> ok
[16:16:08] <jepler> hm I've made a bit of a mess of my tree :-/
[16:16:37] <CIA-48> EMC: 03cradek 07v2_3_branch * r8dbbf87db900 10/src/emc/rs274ngc/ (interp_convert.cc interp_queue.cc): fix undetected gcode error when using cutter comp
[16:17:22] <cradek> Your branch and 'origin/master' have diverged,
[16:17:25] <cradek> and have 248 and 796 different commit(s) each, respectively.
[16:17:29] <cradek> ok, I doubt that's right
[16:17:37] <jepler> you done something wrong
[16:18:03] <cradek> yes, yes I have
[16:18:48] <CIA-48> EMC: 03jepler 07master * r8912b6c711c1 10/src/emc/usr_intf/touchy/touchy.py: Stop the pointed-at button from looking different
[16:18:49] <CIA-48> EMC: 03jepler 07master * r14f67c137c4b 10/src/emc/usr_intf/touchy/touchy.py: don't show a mouse cursor (pointer)
[16:18:54] <jepler> hi micges
[16:20:20] <micges> hi jepler
[16:22:00] <cradek> oops, I borken the 2.3 build
[16:22:07] <cradek> maybe I should have ... tried it
[16:22:12] <jepler> *facepalm*
[16:27:20] <micges> jepler: on what state defer-format branch is?
[16:28:20] <jepler> micges: I don't think I've touched it since the initial announcement
[16:28:47] <micges> I see
[16:32:52] <mshaver> can someone refresh my memory: To build debs I cd to emc2/debian and...?
[16:33:15] <mshaver> I want to test cradek's pATCH FOR THREADING
[16:33:16] <jepler> micges: I don't need defer-format for myself. I was hoping for feedback from others..
[16:33:33] <jepler> mshaver: something like debian/configure -a; dpkg-buildpackage -rfakeroot -uc -us
[16:33:45] <CIA-48> EMC: 03cradek 07v2_3_branch * r5ec0dbdaa6b8 10/src/emc/rs274ngc/interp_convert.cc: oops, fix build fail by silly macros
[16:33:55] <mshaver> the wiki talks about something called pbuilder, but that's not how I remember doing it
[16:34:09] <jepler> mshaver: yeah, pbuilder is overkill
[16:34:14] <mshaver> thanks!!!
[16:35:13] <micges> jepler: I know, I need defer-format for myself and I'm digging source gode
[16:37:06] <jepler> there's one trivial-looking conflict merging the defer-format branch to today's master
[16:43:03] <jepler> cradek: I notice that the standard nc_files "example" symlink confuses touchy
[16:43:35] <cradek> it should probably toss out everything that's not a file ending in .ngc
[16:43:46] <cradek> I'm not the least bit interested in adding a directory browser
[16:43:51] <jepler> I'll bet
[16:50:41] <cradek> I think the latest patch to threading looks pretty good. I tested it with accels of 5,20,90 and encoder down to 30 lines
[16:52:12] <jepler> was the problem at all related to having the first synchronized move be a short one?
[16:52:21] <jepler> I don't really profess to understand the problem or the fix..
[16:53:21] <cradek> yes that is what triggered the problem, but the real problem was once it wasn't perfectly synced, it oscillated instead of just catching up
[16:55:20] <cradek> now it syncs back up pretty fast, even though it still gets behind on those short moves because it can't go fast enough (fundamental limitation of the planner)
[17:02:47] <CIA-48> EMC: 03cradek 07master * rbe0dad0cd18f 10/src/emc/kinematics/tp.c: fix threading oscillation
[17:06:03] <cradek> hm, this says dircache is deprecated but it doesn't say what it's been replaced with: http://docs.python.org/library/dircache.html
[17:07:11] <jepler> probably with "just use listdir, it's not that slow"
[17:19:20] <skunkworks_> Think back.. Remember when someone was trying to cut a cam using spindle synced motion... Would this help that?
[18:06:07] <cradek> on a lathe? no idea. the real problem with doing that is you can't cut at all those angles without live tooling
[18:14:34] <cradek> skunkworks is faster than me at pointers to the docs today!
[18:15:12] <skunkworks_> heh - although it sounds like english is my second language again.
[18:15:34] <skunkworks_> I really should read what I write.
[18:16:12] <cradek> I don't see any very badness words
[18:16:18] <skunkworks_> ;)
[18:24:54] <skunkworks_> This is what I am thinking of http://thread.gmane.org/gmane.linux.distributions.emc.user/15682
[18:25:44] <cradek> WHERE IS MY MOUSE POINTER?
[18:27:41] <skunkworks_> heh
[18:34:09] <CIA-48> EMC: 03cradek 07master * rb63d3d854b7f 10/src/emc/usr_intf/touchy/filechooser.py: ignore anything in nc_files that's not *.ngc
[18:34:47] <skunkworks_> does it get rid of directories then?
[18:35:04] <skunkworks_> (assuming so as it doesn't end in ngc ...)
[18:35:06] <cradek> not ones named something.ngc
[18:35:12] <skunkworks_> heh
[18:35:12] <cradek> ... I guess
[18:57:42] <cradek> mshaver: I'm happy with my test results and I put that change on git master.
[18:58:37] <mshaver> cradek: Much Better! See: http://www.mattshaver.com/problem/ files g76l0.png through g76l3.png
[18:59:47] <cradek> that looks nice. does it sound right?
[19:00:28] <mshaver> sounds fine, I think you've got it solved
[19:00:38] <cradek> looks like your axis can't go much faster - are you sure it's keeping up?
[19:01:04] <cradek> the slope of the rapid looks about the same as the slope of the threading move
[19:02:24] <SWPadnos> oh hey - referring to cutting non-circles on a lathe, I think that fastcut video shows multiple tools on the live spindle (when cutting hexagons)
[19:02:48] <cradek> don't you have that working yet?
[19:02:54] <SWPadnos> no
[19:02:58] <SWPadnos> not quite ;)
[19:03:41] <SWPadnos> you get perfect flats when the tool radius is the same as the final cut radius
[19:03:52] <mshaver> those speed are actually slow. it's a 3" long thread, done in about 3 seconds, so the ~ speed is 60ipm. It's actually that the retract move is slow.
[19:03:54] <SWPadnos> you get two faces per tool, so you need N/2 tools on the spindle
[19:04:05] <SWPadnos> what I don't understand yet is how they did the pyramid
[19:04:48] <cradek> mshaver: maybe I don't understand the plots then...
[19:07:47] <cradek> I see index reset, then Z moves negative for 3", then it moves positive for 3" at about the same speed or slower
[19:08:19] <mshaver> yes, and the timing is 1 sec/box
[19:08:43] <mshaver> the negative move is the threading move, the positive move is the retract
[19:09:50] <mshaver> the Z axis on the machine can go 225"/min
[19:10:14] <mshaver> so the retract move is not being made at the maximum rapid velocity
[19:10:20] <cradek> maybe you had your maxvel slider down
[19:10:30] <cradek> or feed override
[19:10:32] <mshaver> I didn't even notice this until you brought it up...
[19:11:13] <mshaver> maybe, I don't remember - and the machine is being torn down & shipped (I think)
[19:11:39] <cradek> first lathe?
[19:12:04] <mshaver> no, but we don't have any extras - we ship as soon as we build them
[19:12:37] <cradek> heh, sounds like you need to build more
[19:13:50] <mshaver> true. I won't be able to get another one for about a month, maybe longer depending on my schedule
[19:14:22] <cradek> well I'm too tired to fix any more bugs for a while anyway
[19:14:47] <mshaver> great! we agree it's fixed! victory is declared!
[19:14:54] <cradek> haha
[19:15:14] <cradek> too bad about 2.3 - not sure if this should be backported.
[19:15:33] <jepler> 2.4 will be out in just 6 months, don't sweat it.
[19:15:34] <cradek> I think it's much better, but I'd hate to screw anyone up so late in the 2.3 cycle.
[19:15:44] <cradek> did you send your announcement?
[19:15:53] <jepler> nah, still sitting on it
[19:15:57] <mshaver> 2.3.5?
[19:15:58] <jepler> I should, though
[19:16:50] <mshaver> in six months I can test it some more!
[19:18:09] <mshaver> in the code that runs the g76 cycle: Is the retract move done at the rapid rate?
[19:18:21] <cradek> yes
[19:19:41] <mshaver> well then, it's a mystery until next time
[19:20:00] <cradek> you could experiment with sim/lathe
[19:21:30] <jepler> cradek: is G10 L20 ... R ... accepted?
[19:22:22] <jepler> OK, I see it's not
[19:23:05] <skunkworks_> oops. Just assumed it was (the quickref gcode sheet shows it...)
[19:23:11] <jepler> I clarified the "coordinate systems rotation" on the wiki page
[19:23:16] <jepler> emc/task/emctask.cc 321: interp_error: R not allowed in G10 L20
[19:30:39] <cradek> jepler: no, I do not see how it makes any sense to accept it. what would it mean?
[19:39:14] <cradek> I can envision it meaning "and keep my current point the same" but who the heck wants to figure out how to write that?
[19:39:39] <cradek> I should've been a sociology major or something.
[19:40:52] <SWPadnos> sociopathology
[19:41:10] <cradek> but that's what the emc-users list is, right?
[19:41:16] <SWPadnos> (which can actually be split into two interesting compound words)
[19:41:16] <SWPadnos> heh
[19:55:18] <jepler> cradek:
[19:55:18] <jepler> - self.files = [i for i in self.files if i.endswith('.ngc')]
[19:55:18] <jepler> + self.files = [i for i in self.files if i.endswith('.ngc')
[19:55:18] <jepler> + and os.path.isfile(os.path.join(self.dir, i))]
[19:57:12] <cradek> cool, I couldn't figure out how to spell that
[19:57:58] <SWPadnos> or os.path.isdir(...) ?
[19:58:17] <cradek> you want the files, ignoring the dirs
[19:58:47] <SWPadnos> so no loading files outside of the nc_files dir? (or is that somewhere else)
[19:58:53] <cradek> nope
[20:02:08] <cradek> < cradek> I'm not the least bit interested in adding a directory browser
[20:02:27] <SWPadnos> I saw that
[20:02:29] <cradek> as I see it, the files you place in the nc_files directory are "in the control"
[20:02:39] <cradek> I use a network for this task
[20:02:55] <SWPadnos> it seems that a very very simple browser would be OK though - if (isdir) then chdir and reload file list, else load file
[20:03:12] <SWPadnos> nothing more complex than that
[20:03:26] <cradek> with a touch screen you could also easily drag files in and out
[20:03:33] <SWPadnos> sure
[20:03:45] <SWPadnos> (assuming you can accurately touch the edge of your screen :) )
[20:04:00] <cradek> heh, they suck, don't they
[20:04:42] <SWPadnos> yes, especially when the calibration software only runs under Windows
[20:06:49] <micges> SWPadnos: this sucks
[22:26:12] <CIA-48> EMC: 03cradek 07master * r3de3360a910e 10/src/emc/usr_intf/touchy/filechooser.py: in listing, show files only