#emc-devel | Logs for 2010-02-05

[00:21:25] <jepler> who can tell me what aio/dio features in gcode are new in 2.4?
[00:22:21] <cradek> I think I noticed that timeout is subsecond now, not integer
[08:29:32] <alex_joni> micges_work: 02:21 < jepler> who can tell me what aio/dio features in gcode are new in 2.4?
[08:50:19] <micges_work> thx
[11:19:08] <alex_joni> micges_work: I thought you might know ;)
[11:19:28] <alex_joni> I know there were some aio changes (previously not implemented)
[11:19:39] <alex_joni> and timeout for M66
[12:03:28] <micges_work> aio is implemented
[12:04:13] <micges_work> only aio synced don't work now
[12:09:35] <alex_joni> :/
[12:11:19] <micges_work> just adding to tp simmilar as dio, simple :)
[12:12:19] <alex_joni> micges_work: sure..
[12:12:25] <alex_joni> * alex_joni registers a bugreport
[12:12:38] <alex_joni> otherwise jepler won't cherrypick it for 2.4 :D
[12:12:51] <alex_joni> kidding..
[12:13:41] <micges_work> hehe
[13:14:16] <jepler> I don't want to cherrypick new features for 2.4; I want to merge them. hence the suggestion to start new work at the merge-base of v2.4_branch and master, and merge master only for integration testing
[13:19:57] <micges_work> jepler: so if I must add fix for some aio functionality, where can I put it?
[13:25:05] <jepler> This makes it easiest (in a technical sense) to eventually put my-new-work on v2.4_branch and master: $ git checkout -b my-new-work $(git merge-base master v2.4_branch)
[13:26:02] <micges_work> ok I'll try
[13:26:43] <jepler> then 'git merge my-new-work' is equally sensible on a branch that comes from v2.4_branch and a branch that comes from master
[13:27:37] <jepler> as you develop my-new-work you will use a "throwaway integration branch" when you want to test if it works properly with the newest changes in v2.4_branch and/or master
[13:29:13] <jepler> to understand why this is the case, it may help to draw some diagrams that look like gitk to show some changes in v2.4_branch, some changes in master, and some changes in my-new-work
[13:29:47] <micges_work> yeah it may help
[13:29:55] <jepler> then see why master..my-new-work and v2.4_branch..my-new-work both refer to just the changes in my-new-work
[13:30:15] <jepler> (that means 'every change reachable from my-new-work but not reachable from master' or 'not reachable from v2.4_branch')
[13:30:53] <jepler> and then add the bubble which is 'merge master into my-new-work' and see why that is no longer the case
[13:31:00] <jepler> bbl, time to go to work
[13:31:13] <micges_work> jepler: thanks, bbl too
[14:16:14] <cradek> using timers in classicladder seems like an awful way to try to get the right tool
[14:22:36] <skunkworks_> ?
[14:23:08] <cradek> on emc-users
[14:23:52] <cradek> I mean, it might be a bug in timers, but it seems like he's doing it wrong (probably no real feedback from the turret)
[15:59:45] <jepler> hah. someone has a project called "libnih". https://launchpad.net/libnih
[16:04:51] <SWPadnos> all we need now is libNI!
[16:05:02] <SWPadnos> (complete with knights)
[16:51:00] <cradek> I pushed a new branch locking-rotary that supports rotary tables that need to lock and unlock, and are used for indexing instead of coordinated motion
[17:18:50] <jthornton> like tool changers?
[17:20:08] <SWPadnos> more like people cutting gears I expect
[17:32:50] <micges> cradek: do you have photo of machine you will use locking-rotary branch?
[18:13:15] <cradek> micges: no, I don't have a machine that uses it
[18:14:33] <cradek> well, I may have an A axis that might use it someday, I'm not sure
[19:29:09] <micges> I see
[19:29:47] <cradek> skunkworks: cradek> I pushed a new branch locking-rotary that supports rotary tables that need to lock and unlock, and are used for indexing instead of coordinated motion
[19:58:37] <CIA-81> EMC: 03cradek 07locking-rotary * r5d3e3fb49ff4 10/src/emc/ (7 files in 4 dirs): new homing flag for joints that require unlocking
[21:19:34] <cradek> jepler: yeah there are a lot of good fixes in 2_3_branch
[21:20:13] <jepler> I wanted to emphasize one thing about starting new branches: you only need to do the complicated thing if it's work you want to have in both 2.4 and master; if it's only for master, then you can do it just like we've been doing new features in master forever
[21:20:31] <jepler> cradek: did you switch jr over to use the builds-of-the-minute?
[21:20:56] <cradek> no, I haven't done anything with it for a while; it's been busy cutting things
[21:21:02] <cradek> the lathe build is even older
[21:21:29] <cradek> I really really should update jr to shake out the new tool table stuff
[21:24:44] <cradek> the homing state machine is written cleanly but still kind of makes my eyes cross
[21:26:32] <micges> cradek: you want to add more homing stages?
[21:27:37] <cradek> yes unlock/lock for these new kinds of joints
[21:27:45] <cradek> ... for this new kind of joint
[21:32:49] <micges> cradek: ja3 branch works on one gantry plasma cutter 2 days now, without any significant problems
[21:33:04] <cradek> yay!
[21:34:16] <micges> of course it needed some fixes to axis and ini but all functionality works
[21:36:00] <cradek> sounds terrific
[21:36:54] <cradek> maybe at cnc workshop jepler and I could try to work on joint constraints again
[21:37:33] <cradek> ... I don't have anything specific planned this time
[21:37:48] <micges> would be great
[21:40:26] <micges> jepler: I've tested defer-format branch and it works on sim, but I couldn't try it on realtime
[21:45:41] <jepler> micges: and does it meet your needs for translation of the parts of the system that run in kernel space / realtime ?
[21:47:23] <micges> it meets my needs
[21:47:56] <micges> thanks
[21:48:56] <micges> but I'll test it more in a few weeks
[21:50:33] <jepler> OK -- if it meets your needs and you don't encounter any problems then I'll be comfortable merging it onto master
[21:51:00] <micges> cool, I'll let you know
[21:51:54] <micges> jepler: maybe I'll make it for 2.4?
[21:52:17] <micges> hmm I think now
[21:52:20] <micges> not
[22:01:15] <jepler> * jepler wonders if he should merge glrefactor onto master
[22:01:25] <jepler> I think it's mostly right, and it'll get a good long time to shake out the problems if I do
[22:10:10] <alex_joni> things that don't make it into master have less chance of getting looked at
[22:11:14] <micges> hi alex_joni
[22:11:18] <alex_joni> hi micges
[22:26:53] <alex_joni> http://www.theregister.co.uk/2010/02/05/pluto_pics/
[22:27:00] <alex_joni> seb should have lended a hand (or CPU)
[22:29:13] <jepler> wow, 80 CPU years is a lot of time for just 12 images
[22:30:13] <alex_joni> I would expect to get more PCs for a task like this
[22:30:43] <alex_joni> jepler: might have been multiple cores ..
[22:36:46] <SWPadnos> even a 6503 can do a lot in 80 years
[22:36:51] <SWPadnos> err, 6502
[22:39:35] <CIA-81> EMC: 03jepler 07master * r850900598316 10/src/emc/usr_intf/axis/scripts/axis.py: remove unused code
[22:39:36] <CIA-81> EMC: 03jepler 07master * r1aa8339e889c 10/ (4 files in 3 dirs): factor behavior code out of Togl classes
[22:39:38] <CIA-81> EMC: 03jepler 07master * r8998af5573a9 10/ (3 files in 3 dirs): factor out most drawing code from axis
[22:39:39] <CIA-81> EMC: 03jepler 07master * r6d0b2ca739a7 10/ (2 files in 2 dirs): factor out view-setting code
[22:39:42] <CIA-81> EMC: 03jepler 07master * r3a7b6b4e1404 10/lib/python/rs274/glcanon.py: factor out some common code from the view-setting code
[22:39:42] <CIA-81> EMC: 03jepler 07master * r8fc012c5699c 10/ (2 files in 2 dirs): fix preview plot highlighting
[22:39:47] <CIA-81> EMC: 03jepler 07master * r18ae92724cff 10/lib/python/rs274/glcanon.py: remove unused variable
[22:39:47] <CIA-81> EMC: 03jepler 07master * r01f2fb331674 10/lib/python/rs274/glcanon.py: use a display list to hold the tool shape
[22:39:48] <CIA-81> EMC: 03jepler 07master * rcf8259ff1d94 10/lib/python/rs274/glcanon.py: cache origin and small-origin in display lists
[22:39:53] <CIA-81> EMC: 03jepler 07master * re979556c2b30 10/ (2 files in 2 dirs): get rid of '.g' as confusing shorthand for '.canon'
[22:39:55] <CIA-81> EMC: 03jepler 07master * r50783a5af1b5 10/lib/python/rs274/glcanon.py: remove unused functions
[22:40:01] <CIA-81> EMC: 03jepler 07master * r1309bd8df2d6 10/lib/python/rs274/glcanon.py: be consistent about math.foo
[22:40:01] <CIA-81> EMC: 03jepler 07master * r776515dbd708 10/lib/python/rs274/glcanon.py: make it OK to repeatedly create and destroy GLCanon objects
[22:40:01] <CIA-81> EMC: 03jepler 07master * r9c51028c75d4 10/lib/python/glnav.py: put more useful defaults in glNavBase
[22:40:01] <CIA-81> EMC: 03jepler 07master * rdc4dd3606a4c 10/lib/python/rs274/OpenGLTk.py: don't require subclasses to set the 'initialized' flag
[22:40:05] <CIA-81> EMC: 03jepler 07master * rdda98619d335 10/lib/python/rs274/glcanon.py: get rid of '.s' as confusing shorthand for '.stat'
[22:40:06] <CIA-81> EMC: 03jepler 07master * r669547cf1c3f 10/ (2 files in 2 dirs): factor out the innermost part of preview loading
[22:40:07] <CIA-81> EMC: 03jepler 07master * r2e9a5718f755 10/lib/python/rs274/glcanon.py: using the context decorators simplifies the code
[22:40:10] <CIA-81> EMC: 03jepler 07master * r064f4502e565 10/lib/python/rs274/glcanon.py: default colors
[22:40:10] <CIA-81> EMC: 03jepler 07master * rd300433d97c2 10/lib/python/rs274/glcanon.py: provide convenience routines to run with a context
[22:40:10] <CIA-81> EMC: 03jepler 07master * r91aaca305dd0 10/src/emc/usr_intf/axis/scripts/axis.py: togl can be treated as always realized
[22:40:11] <CIA-81> EMC: 03jepler 07master * rfcbcbf4afec8 10/lib/python/rs274/glcanon.py: defer creating the hershey object until realized
[22:40:14] <CIA-81> EMC: 03jepler 07master * r4f3ae5d4570d 10/src/emc/usr_intf/gremlin/gremlin.py: a basic gtk version of the axis preview/live plot
[22:40:15] <CIA-81> EMC: 03jepler 07master * r6d1e4bc47da0 10/lib/python/rs274/glcanon.py: add some code requried when displaying metric on the dro
[22:40:20] <CIA-81> EMC: 03jepler 07master * re1046a00f633 10/src/emc/usr_intf/axis/scripts/axis.py: this is now done by the base class
[22:40:21] <CIA-81> EMC: 03jepler 07master * r4b334612765c 10/src/emc/usr_intf/gremlin/gremlin.py: factor out font_use_pango_font
[22:40:21] <CIA-81> EMC: 03jepler 07master * rfe47b07e4234 10/src/emc/usr_intf/axis/extensions/minigl.c: add opengl functions related to glDrawPixels
[22:40:33] <CIA-81> EMC: 03jepler 07master * r8c7faf073f59 10/src/emc/usr_intf/gremlin/gremlin.py: use antialised font for DRO
[22:40:34] <CIA-81> EMC: 03jepler 07master * rfbe1e4f64865 10/lib/python/rs274/OpenGLTk.py: some backends require a call at the end of opengl
[22:40:38] <CIA-81> EMC: 03jepler 07master * r09d5eb0de2b6 10/lib/python/glnav.py: factor out zooming
[22:40:38] <CIA-81> EMC: 03jepler 07master * r3c961f524e98 10/lib/python/rs274/OpenGLTk.py: use factored-out zoom
[22:40:39] <CIA-81> EMC: 03jepler 07master * r83dbc9e62682 10/src/emc/usr_intf/gremlin/gremlin.py: enable additional event handling
[22:40:46] <CIA-81> EMC: 03jepler 07master * r3de55acab064 10/src/emc/usr_intf/gremlin/gremlin.py: wheel zooming
[22:40:47] <CIA-81> EMC: 03jepler 07master * r813c36a375bb 10/lib/python/rs274/glcanon.py: don't capture set_centerpoint, it might call opengl
[22:40:48] <CIA-81> EMC: 03jepler 07master * rca40f80dcce4 10/lib/python/rs274/glcanon.py: sorting can be avoided, since only the min element is required
[22:40:51] <CIA-81> EMC: 03jepler 07master * ref1d56e882a6 10/src/emc/usr_intf/gremlin/gremlin.py: make click-select work in gremlin
[22:40:57] <CIA-81> EMC: 03jepler 07master * r93cc81e5e671 10/ (lib/python/glnav.py src/emc/usr_intf/gremlin/gremlin.py): refactor pango font handling
[22:40:57] <CIA-81> EMC: 03jepler 07master * r0853e94c89e1 10/tcl/emc.tcl.in: fix typo that prevented caching of standard font size
[22:40:59] <CIA-81> EMC: 03jepler 07master * ra48c1c4a2b7c 10/tcl/emc.tcl.in: use tk8.5 standard font family names
[22:41:00] <CIA-81> EMC: 03jepler 07master * rd1610854e0a2 10/src/emc/usr_intf/axis/scripts/axis.py: use standard fixed font instead of hardcoded font name for help
[22:41:03] <CIA-81> EMC: 03jepler 07master * r896d315f9853 10/src/emc/usr_intf/axis/scripts/axis.py: use antialiased font for DRO
[22:41:04] <CIA-81> EMC: 03jepler 07master * rbae58918225c 10/ (8 files in 6 dirs): Merge remote branch 'jepler/glrefactor'
[22:41:07] <jepler> well that's just a bit of spew!
[23:01:47] <micges> jepler: axis don't starts
[23:05:06] <micges> File "/home/micges/EMC2/devel/lib/python/rs274/glcanon.py", line 436, in set_highlight_line
[23:05:06] <micges> self.set_centerpoint(x, y, z)
[23:05:06] <micges> UnboundLocalError: local variable 'x' referenced before assignment
[23:45:50] <jepler> micges: hah, that'll teach me to not test :-/