#emc-devel | Logs for 2006-09-20

Back
[02:40:16] <jepler> jmkasunich2: 15:58:56 <jepler> autogenerated manpage: http://emergent.unpy.net/files/sandbox/comp.9.txt formatted: http://emergent.unpy.net/files/sandbox/comp.man.txt
[02:45:10] <jepler> cradek: http://emergent.unpy.net/files/sandbox/hallelujah.png http://emergent.unpy.net/index.cgi-files/sandbox/halgui.py
[02:45:19] <jepler> usage: halgui.py [component prefix]
[02:46:10] <jepler> make sure the right halcmd is in the path
[02:47:34] <jmkasunich2> autogenerated manpage?
[02:48:13] <jepler> yeah -- comp will make manpages for the components it processes
[02:48:22] <jmkasunich2> nice
[02:48:26] <jepler> I confused the issue by using "comp.comp" as the example
[02:49:23] <jmkasunich2> whats with hallelujah.png?
[02:50:11] <jepler> that's a picture of a component as it might be in a GUI schematic editor
[02:50:34] <jmkasunich2> thats what I thought
[02:52:19] <jmkasunich2> that pic was autogenerated?
[02:57:32] <jepler> yes
[02:57:38] <jepler> that one was by parsing the halcmd output
[02:58:13] <jepler> cradek is trying to talk me into writing the schematic editor...
[02:58:37] <jepler> goodnight
[03:01:42] <jmkasunich2> goodnight
[14:54:56] <jepler> http://emergent.unpy.net/files/sandbox/hallelujah2.png
[14:55:33] <jepler> ^^ autogenerated schematic of HAL configuration including pins, parameters, and signals
[14:55:54] <jepler> signal names are not yet shown; placement is static
[14:56:07] <SWPadnos> holy crapola batman!
[14:56:16] <SWPadnos> and hallelujah!
[14:56:44] <SWPadnos> are params the blue things inside the blocks?
[14:58:14] <cradek> cooooool
[14:58:15] <jepler> yes
[15:35:55] <jepler> components can be dragged, with the nets following them: http://emergent.unpy.net/files/sandbox/hallelujah3.png
[15:37:18] <cradek> 09:55:58 placement is static, 10:35:58 components can be dragged, with the nets following them
[15:38:37] <cradek> this is great jeff
[15:39:03] <cradek> what feature will we see in 40 more minutes?
[15:39:46] <jepler> bends
[15:39:55] <cradek> slick
[15:52:54] <jepler> bah I don't know how bends should behave
[15:52:58] <jepler> * jepler quits for now
[15:53:42] <jepler> certainly not like what I just implemented
[16:09:48] <cradek> The requested URL /files/sandbox/hallelujah4.png was not found on this server.
[16:10:28] <jepler> it wasn't even worth taking a screenshot of
[16:10:48] <cradek> were you trying to do some kind of automatic bends?
[16:13:10] <jepler> for the net layout, I just sorted the points on the net by their X coordinate
[16:13:29] <jepler> when I added "bends" I tried just adding those extra points in and still sorting
[16:14:25] <cradek> I guess that's a problem when things are vertical
[16:14:44] <SWPadnos> maybe try doing bezier curves or something, with a control point chosen to be outside the bounding rectangle of any objects that a straight line intersects
[16:14:52] <cradek> minimal spanning tree?
[16:15:07] <SWPadnos> or look at graphviz, and see how they do it ;)
[16:15:13] <cradek> curves definitely help the eye follow one line
[16:15:29] <cradek> I was looking for some posters of atari? object code that showed the jumps as curves
[16:15:39] <cradek> I remember thinking how well the presentation worked
[16:17:43] <cradek> I don't think I'm going to find it
[16:19:45] <jepler> I've seen it too
[16:25:08] <SWPadnos> code is too easy, it's all vertical and more or less left-aligned
[16:34:11] <cradek> this was a graphical representation of the memory in the cartridge I think
[16:34:29] <cradek> (I only have a fuzzy memory of it)
[17:01:41] <SWPadnos> hiya Ray. feeling any better?
[17:02:29] <rayh> a bit, thanks
[17:02:35] <rayh> How you doing.
[17:02:43] <SWPadnos> crappily, unfortunately
[17:03:00] <SWPadnos> I slept on the couch last night so I wouldn't keep Sharon up
[17:03:15] <rayh> ah school day for her.
[17:03:24] <SWPadnos> yep
[17:03:37] <rayh> time to take shifts at the bed.
[17:03:50] <SWPadnos> yeah - my shift is during daylight ;)
[17:04:52] <rayh> There you go.
[17:05:15] <rayh> bookmark logger_devel
[17:05:21] <SWPadnos> swap those
[17:05:35] <rayh> logger_devel bookmark
[17:05:45] <SWPadnos> and add a comma or colon
[17:05:47] <SWPadnos> :)
[17:05:53] <rayh> logger_devel, bookmark
[17:05:53] <rayh> See http://81.196.65.201/irc/irc.freenode.net:6667/emcdevel/2006-09-20#T17-05-53
[17:05:55] <rayh> got it.
[17:05:58] <SWPadnos> heh
[17:12:14] <rayh> Interesting HAL link jpg made by jeppler
[17:12:24] <SWPadnos> *very* interesting!
[17:13:08] <rayh> not for the faint hearted!
[17:14:07] <SWPadnos> not yet. jepler was looking into curves, to make things more pretty
[17:15:51] <rayh> color on the lines might help a bit.
[17:16:02] <SWPadnos> yeah - color to show the datatype or something
[17:16:06] <rayh> but it is big
[17:16:46] <SWPadnos> that's generated from the output of halcmd show, so it's necessarily bigger than the interesting subset of HAL connections
[17:17:14] <SWPadnos> if it were limited to e.g. only the active axes (as defined in the ini), it would be more manageable
[17:17:24] <rayh> Right. A set of focus buttons that only look at parts at a time.
[17:17:35] <SWPadnos> however, I think those kinds of things are for later optimization
[17:17:43] <rayh> Wow. That is fantastic.
[17:18:06] <SWPadnos> no, I think you need the whole HAL to be visible at once, but only the parts that are used, not the extra 4 or 5 axes, for instance
[18:19:54] <jepler> I assume a finished app might have an idea of "sheets"
[18:20:02] <jepler> you could have a sheet per axis if you wanted
[18:20:04] <jepler> or whatever
[18:20:40] <jepler> but I'm nowhere near that yet
[18:24:08] <SWPadnos> I'm not sure how that could be done automatically
[18:24:28] <SWPadnos> and it seems it would be of limited usefulness if one had to manually partition components between sheets
[18:27:17] <jepler> if it is a full editor, then manually putting items on sheets would be just fine
[18:27:41] <jepler> if it's for (nearly-automatic) graphical documentation of the HAL setup, then it's not such a great idea
[18:29:06] <SWPadnos> maybe something in the middle would work as well - multi-select several objects to create a meta-object from them (internal connections hidden), and have a feature to look for similarly named sets of components and group those as well
[18:41:14] <alex_joni> jepler: *big applause*
[18:53:04] <jepler> http://emergent.unpy.net/files/sandbox/hallelujah4.png
[18:57:19] <cradek> jepler: are the points placed manually?
[18:57:27] <jepler> cradek: yes
[18:57:49] <cradek> so it works pretty much like eagle
[18:58:04] <jepler> pretty similar
[18:58:12] <jepler> come see it live if you want
[19:11:43] <alex_joni> * alex_joni gets a ticket
[19:15:49] <alex_joni> jepler: is that all you had in the HAL?
[19:31:50] <jepler> alex_joni: nearly all. I specified that the axis.3 and above should not be shown.
[19:32:21] <alex_joni> ahh.. ok
[19:32:40] <alex_joni> because I was wondering how you managed to run iocontrol without the rest of emc :P
[19:33:31] <alex_joni> jepler: were you able to take over anything of valarq's work?
[19:34:16] <jepler> alex_joni: no, I didn't look at any of it
[19:34:28] <alex_joni> jepler: ok..
[19:34:37] <alex_joni> then maybe we want to drop that from CVS
[19:34:37] <jepler> oh -- that last one? That's just a part
[19:34:50] <jepler> I didn't know it was in CVS
[19:34:59] <alex_joni> it is
[19:35:35] <alex_joni> and it's python
[19:35:58] <alex_joni> hal/utils/halgui
[19:37:47] <alex_joni> not really much.. I think you already have exceeded that functionality
[20:01:38] <jepler> now it's started locking up for some reason I can't fathom
[20:02:20] <jepler> in an endless cycle of hilighting/unhighlighting a hovered net
[20:26:31] <jepler> I'm sure you could defend the Canvas's handling of <Enter> and <Leave> item events when those events change the shape or size of items, but it sure had me scratching my head
[20:27:32] <jepler> if the <Enter> makes something else overlap the item you entered, you may get a <Leave> .. and if it makes the new thing no longer overlap, you could get another <Enter>, and so on
[20:28:06] <alex_joni> * alex_joni wonders what klingon dialect that is
[20:28:08] <alex_joni> :-P
[20:29:04] <jepler> bah
[20:40:49] <jepler> http://emergent.unpy.net/files/sandbox/hallelujah5.png
[20:41:06] <jepler> thank goodness I can obsessively move wires around until I like how they look
[20:42:01] <alex_joni> jepler: nice
[20:42:07] <alex_joni> do you need to do that every time?
[20:42:21] <jepler> it can't save the positions of anything yet .. so yes
[20:42:49] <alex_joni> sounds like a lot of obsessing
[20:42:56] <jepler> oh I'm good at it
[20:43:05] <alex_joni> heh
[20:43:07] <jepler> sure needs an "area move" though
[20:43:24] <alex_joni> select & move?
[21:17:53] <alex_joni> jepler: you told me a command to cat from /dev/ttyS0 to a file some time ago
[21:18:03] <alex_joni> don't remember that by any chance?
[21:18:22] <alex_joni> it was some 'stty.. cat /dev/ttyS0 >> file' I think
[21:18:24] <cradek> cat /dev/ttyS0?
[21:18:35] <cradek> you can set the baud etc with stty
[21:18:41] <alex_joni> cradek: yeah
[21:18:51] <alex_joni> but jepler's command worked just great last time
[21:18:57] <alex_joni> now I tried to set it with stty
[21:19:02] <alex_joni> but I am not getting anything
[21:19:18] <cradek> what's on the port?
[21:19:25] <alex_joni> PBX
[21:19:36] <cradek> full serial with handshaking, or just 3 wire?
[21:19:45] <alex_joni> 3 wire should be enough I think
[21:19:52] <alex_joni> I disabled xon/xoff
[21:19:54] <alex_joni> and co
[21:20:12] <cradek> stty 38400 clocal </dev/ttyS0; cat </dev/ttyS0
[21:21:36] <alex_joni> nothing coming out.. might be something else borked
[21:21:49] <cradek> yeah maybe
[21:21:56] <cradek> why not try minicom
[21:22:37] <alex_joni> hate it
[21:22:46] <alex_joni> too many options to set/screw up