#emc-devel | Logs for 2009-11-29

[00:56:49] <dgar1> cradek: a patch to copy new tool entry to pocket 0:http://panix.com/~dgarrett/stuff/0001-copy-current-tool-to-toolTable-0.patch
[01:18:08] <cradek> you rock
[01:20:11] <cradek> did you try it? it has a typo and doesn't build...
[01:23:08] <cradek> I made a few changes - this fixes it, thank you
[01:24:25] <cradek> did you mean to take the static off fakepocket?
[01:41:24] <CIA-13> EMC: 03cradek 07master * r7fe140d81feb 10/src/emc/iotask/ioControl.cc: fix up and simplify dgarrett's previous fix
[01:41:33] <CIA-13> EMC: 03cradek 07master * re0c98275fda4 10/src/emc/iotask/ioControl.cc: fix tool table reload not changing the loaded tool
[01:56:01] <CIA-13> EMC: 03seb 073x20 * r184059733abd 10/ (280 files in 123 dirs): merge
[01:58:51] <CIA-13> EMC: 03seb 07master * rfed9d8e5a584 10/src/hal/drivers/mesa-hostmot2/ (encoder.c hostmot2.h): better encoder velocity estimation when reversing
[01:58:57] <cradek> yay
[01:59:29] <cradek> I wonder how well that would work as velocity feedback to amps, now
[02:01:05] <CIA-13> EMC: 03cradek 07master * r41b93a693f55 10/src/emc/rs274ngc/ (7 files): readonly_toolparameters
[02:01:07] <CIA-13> EMC: 03cradek 07master * r4084c18a8232 10/src/emc/rs274ngc/interp_convert.cc: minor cleanup
[02:01:08] <CIA-13> EMC: 03cradek 07master * r255208afbd11 10/src/hal/drivers/mesa-hostmot2/ (encoder.c hostmot2.h): Merge branch 'master' of ssh://cradek@git.linuxcnc.org/git/emc2
[03:24:36] <dgar1> cradek: thanks for fixing that up, don't know about a typo -- i rushed off to dinner and must have moved wrong file. thanks for all your help
[03:28:39] <cradek> dgar1: welcome - thanks for doing it. did you see I pushed your readonly tool parameter patch?
[03:29:07] <cradek> I hope we don't clash with micges's work too much - we might have a big swirl when we want to merge, but we'll get it worked out.
[03:30:29] <dgar1> yes --thanks! -- i'm looking at how to get the intepreter to update tool parameters when a gui causes reloading of the tool table -- could probably use a hint on this if anyone has ideas
[03:30:53] <cradek> oh I didn't even think to test that, jeez
[03:32:28] <cradek> you tried just sticking it in Interp::load_tool_table?
[03:35:43] <dgar1> oh (duh) that's the hint i needed, seems to work i'll test more and get back in a day or so
[03:36:27] <dgar1> i thought it was going to be much harder than that:)
[03:36:48] <cradek> sometimes we get lucky :-)
[03:43:31] <cradek> I always fear that someone from NIST or elsewhere who knows what he/she's doing will come along and have a heart attack seeing what I've done to the interpreter or other venerable parts of emc
[03:44:23] <cradek> I think this is a special case of imposter's syndrome
[03:48:20] <dgar1> i'd never heard that term but i've seen mentions about "fear of success" -- sounds like the same thing. i would hope those folks would be proud to see their work grow and used around the world
[03:48:42] <cradek> yeah, I hope so too
[05:42:27] <CIA-13> EMC: 03cradek 07master * r15d0ba6b2aa2 10/src/hal/utils/halcmd_commands.c: fix loading of halcmd-save'd U32 settings
[05:47:45] <cradek> oh god
[05:47:52] <cradek> I broke a bunch of tests
[05:49:34] <cradek> well that's not going to keep me awake tonight... I'll fix it tomorrow.
[14:40:39] <CIA-13> EMC: 03jepler 07master * rd133f6146ef7 10/tests/save.0/expected: update results
[14:40:41] <CIA-13> EMC: 03jepler 07master * r3a591e6aa86c 10/src/emc/usr_intf/touchy/ (Submakefile touchy.py): organize touchy's python modules as a package
[14:40:41] <CIA-13> EMC: 03jepler 07master * rc9eb4e31b2ca 10/src/emc/usr_intf/touchy/ (Submakefile touchy.py): touchy should use same glade file location as our other programs
[14:40:42] <CIA-13> EMC: 03jepler 07master * r283106381a7b 10/ (debian/emc2.files.in src/Makefile): install touchy
[15:03:08] <cradek> cool, thanks
[15:04:17] <cradek> did you push the gui changes you wanted me to test, or are they still separate and waiting for me?
[15:32:35] <jepler> that's still separate
[15:32:45] <jepler> hold on, I'll make a patch with just that in it...
[15:33:08] <jepler> http://emergent.unpy.net/files/sandbox/0001-prevent-widgets-getting-keyboard-focus.patch
[15:39:03] <cradek> ok, I'll try it today, thanks
[15:48:44] <jepler> ooh, I finally figured out gtk-touchscreen-mode
[15:49:17] <jepler> hold on for a new patch..
[15:49:35] <Jymmm> jepler: Can you *FEEL* the power?! I knew you could =)
[15:49:56] <jepler> er, argh -- it's still not right. some widgets still react to pointer presence :(
[15:50:25] <Jymmm> sounds like OnMouseOver
[15:50:35] <Jymmm> (in JS speak)
[15:51:25] <jepler> yes approximately
[15:51:45] <jepler> for the touchscreen UI you don't want the appearance to differ just becuase the last touch was inside that button
[15:52:16] <jepler> this http://library.gnome.org/devel/gtk/2.15/GtkSettings.html#GtkSettings--gtk-touchscreen-mode should make gtk work that way, but it doesn't actually change the behavior of all the widgets
[15:53:15] <Jymmm> It says "Motion", is that the same as "presence" ?
[15:54:38] <jepler> well, not exactly. In gtk there are enter, leave, and motion events. for all I know it's true that the motion events aren't being paid attention, but the leave and enter are
[15:55:36] <Jymmm> gtk-label-select-on-focus
[15:55:39] <Jymmm> ?
[15:56:22] <jepler> * jepler tests
[15:56:24] <jepler> no, that doesn't seem to be it
[16:00:56] <Jymmm> gtk-im-module http://library.gnome.org/devel/gtk/2.15/GtkIMContext.html
[16:01:12] <Jymmm> see Description
[16:36:22] <cradek> jepler: do you need a touchscreen? I have one extra (even after I put one on the lathe) and you could have it at least until I need it for something (you would have to mount it somehow - it is bare)
[16:37:42] <jepler> cradek: http://emergent.unpy.net/files/sandbox/0002-a-better-way-to-avoid-the-prelight-appearance.patch (cumulative with 0001-prevent)
[16:37:54] <jepler> cradek: no, I think I can test this appearance stuff adequately without one
[16:37:55] <jepler> bbl
[16:44:37] <cradek> hey that definitely looks good
[17:10:47] <cradek> building on jr now
[17:15:22] <cradek> jepler: on jr/hardy, I still get extra unwanted color differences
[17:16:17] <cradek> like if in estop / machine off state, and I alternately poke estop and machine off buttons anyway, they have different colors
[17:22:39] <cradek> but on my jaunty laptop (not touchscreen) it was perfect
[18:45:37] <jepler> cradek: hmph.
[18:46:31] <jepler> cradek: I'll look into it on my hardy system (I tested on karmic)
[18:49:06] <jepler> cradek: on my hardy system it's even worse than what you describe -- there's an orange border that follows the mouse pointer around as well
[18:49:31] <cradek> I suppose that's just a theme difference
[18:49:50] <jepler> probably
[18:49:54] <jepler> bbl
[19:15:38] <micges> cradek: did you track tlo_all_axes?
[19:25:19] <cradek> I have only glanced at it so far
[19:25:34] <cradek> I sure appreciate you working on that - it's something I want too
[22:11:57] <CIA-13> EMC: 03seb 073x20 * rbd74b5807bb7 10/ (16 files in 8 dirs): Merge commit 'origin/master' into 3x20
[22:11:58] <CIA-13> EMC: 03seb 073x20 * r42f6934340f0 10/src/hal/drivers/mesa-hostmot2/ (hm2_pci.c hm2_pci.h hostmot2.c hostmot2.h pins.c): Fix some bugs for the 3x20
[22:40:19] <jepler> cradek: v2 patches for focus and prelight: http://emergent.unpy.net/files/sandbox/0001-prevent-widgets-getting-keyboard-focus.patch http://emergent.unpy.net/files/sandbox/0002-disable-prelight-appearance-by-warping-pointer.patch
[22:40:33] <jepler> 0001 is modified since the last version I sent
[22:47:28] <jepler> (0002 only has any effect if you've also turned on "invisible pointer")
[23:30:16] <alex_joni> night all