#emc-devel | Logs for 2009-03-03

[02:06:44] <jmkasunich> http://www.codinghorror.com/blog/images/the-only-valid-measurement-of-code-quality-wtfs-per-minute.png'
[02:06:59] <jmkasunich> http://www.codinghorror.com/blog/images/the-only-valid-measurement-of-code-quality-wtfs-per-minute.png
[02:07:05] <jmkasunich> dunno where that ' came from
[02:13:54] <jepler> I can write about 1kwtf/day
[02:14:02] <jmkasunich> thats pretty good
[02:14:18] <jmkasunich> I can't type that fast
[02:15:32] <jmkasunich> damn that's annoying - every day my UPS tests its battery (right about now)
[02:15:44] <jmkasunich> and for the last two days it has decided that the battery needs a new one
[02:15:56] <jmkasunich> so it beeps (loudly) for a minute or two
[02:16:49] <jmkasunich> anybody seen this? http://lwn.net/Articles/319544/
[02:29:04] <dgarr> todays's halscope testing: http://filebin.ca/njowyj/02mar_2.2.8.txt http://filebin.ca/tegzcp/02mar_2.2.6.txt http://filebin.ca/owdcbg/02mar_2.2.8-binary-update.txt
[02:31:29] <jmkasunich> so the short version is that halscope (binary, compiled, any version whatsoever) is now totally borked on that machine?
[02:31:39] <dgarr> pretty much
[02:31:58] <jmkasunich> that is disturbing
[02:32:23] <dgarr> i'm convinced it has more to do with my machine/sw than with halscope though
[02:34:54] <dgarr> unless i'm the only one running halscope on hardy
[02:35:30] <jmkasunich> I only have one hardy machine here, but I did use halscope on it a bit
[02:35:36] <jmkasunich> never saw anything funny
[02:40:15] <jepler> I use it on hardy, but sim
[02:40:21] <jepler> cradek uses it on hardy (his lathe)
[02:43:15] <jmkasunich> rob needs to fix his internets
[07:37:13] <alex_joni> jmkasunich: that page is interesting, but so is this: http://sos-linux.svn.sourceforge.net/viewvc/sos-linux/offsched/trunk/Documentation/OFFSCHED.pdf (linked from that page)
[13:53:47] <Guest865> Guest865 is now known as skunkworks_
[17:37:54] <skunkworks_> SWPadnos: how was the vacation?
[17:38:02] <SWPadnos> good
[17:38:12] <skunkworks_> same here.
[17:38:13] <SWPadnos> record cold temperatures, but still better than here :)
[17:38:15] <SWPadnos> how was yours?
[17:38:16] <SWPadnos> cool
[17:38:23] <SWPadnos> I'm headed to Vegas tomorrow morning
[17:38:24] <skunkworks_> 70's and sunny
[17:38:29] <SWPadnos> nice
[17:38:41] <SWPadnos> that's slightly better than most of the time in Hawaii :)
[17:38:51] <SWPadnos> (this trip)
[17:40:17] <SWPadnos> did you guys get out to the Hoover Dam?
[17:41:15] <skunkworks_> yes - hoover dam - red rock canyon and the south rim of the grand canyon.. (we dropped the ball on the grand canyon - it was 45deg and we didn't dress for it. Lots of trips to the car ;)
[17:41:27] <SWPadnos> heh
[17:41:45] <SWPadnos> did you take the "Hard Hat Tour"?
[17:41:49] <SWPadnos> (at the dam)
[17:42:06] <skunkworks_> no - we were with the reletives and not everyone wanted to.
[17:42:11] <SWPadnos> bummer
[17:42:22] <SWPadnos> the regular tour is pretty good too
[17:43:10] <skunkworks_> I did do the 'big shot' or whatever it is called at the top of the stratosphire.
[17:43:35] <SWPadnos> hmmm. don't know that one
[17:43:50] <SWPadnos> I don't usually do much in Vegas itself, except go to trade shows
[17:44:54] <skunkworks_> we went to a lot of the casinos to see what they had. (the last place we went was paris - that was probably the one we liked the most)
[17:45:13] <SWPadnos> huh. never been in that one
[17:45:24] <SWPadnos> Did you get to the Bellagio?
[17:45:28] <skunkworks_> (plus watching the balasio(sp) water show from the ifle tower.
[17:45:37] <SWPadnos> ah yes, that's a nice show
[17:46:55] <skunkworks_> http://imagebin.ca/img/zF4TSFr.jpg
[17:47:21] <skunkworks_> http://imagebin.ca/img/mngnnRy1.jpg
[17:48:54] <skunkworks_> I have to stitch togather a few of the grand canyon pictures
[17:49:25] <SWPadnos> that first one is 8 frames stiched together?
[17:49:30] <SWPadnos> stitched
[17:50:05] <skunkworks_> I don't know off the top of my head - but probably pretty close to 8
[17:50:14] <SWPadnos> I think I saw 7 seams :)
[17:50:27] <SWPadnos> but it could have been 8 seams
[17:50:47] <skunkworks_> I was suprised at how well it worked - it is the software that came with the neighbors cannon
[17:51:05] <SWPadnos> ok. I was going to ask what you used to do it
[17:51:30] <SWPadnos> the hard part with that is getting the exposurethe same
[17:51:56] <skunkworks_> took me a second to figure out the software couldn't automagically put them in order.
[17:52:09] <SWPadnos> you have to check the settings for all the angles you want, then figure out what will work the best for all of them, then use manual settings and shoot them all the same way
[17:52:12] <SWPadnos> heh
[17:52:50] <alex_joni> SWPadnos: there are software stitiching packages out there that do that for you
[17:53:01] <alex_joni> I know the photoshop I use at work does
[17:53:16] <SWPadnos> well, I like to shoot things "on film", since softwaer can't actually add any data
[17:53:34] <alex_joni> ;)
[17:53:45] <SWPadnos> so if you need to do any editing to match the exposures/densities, you're probably losing information
[17:53:49] <alex_joni> so how do you barell distortion compensation?
[17:54:09] <SWPadnos> using a formula ;)
[17:54:20] <alex_joni> and tiny scissors?
[17:54:28] <SWPadnos> but you aren't adding any information, you're only moving information around so it looks better
[17:54:50] <SWPadnos> in some cases, you duplicate information (take one source pixel value and put it in multiple destination pixels)
[17:55:19] <SWPadnos> in others, you average pixel data, losing information (or at best keeping the same amount of information)
[18:01:21] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[18:02:10] <SWPadnos> heh - funny: http://portal.acm.org/citation.cfm?id=359060.359074
[18:04:19] <alex_joni> isn't that the name of your former/actual company?
[18:04:29] <SWPadnos> yes, that's what's funny
[18:04:51] <alex_joni> karma
[18:04:53] <SWPadnos> I met a guy in Hawaii who mentioned it
[18:04:55] <SWPadnos> yeah
[18:05:19] <SWPadnos> I gave him my card (so we could get together later), and he said "Thoth was first used for a realtime OS ..."
[18:05:27] <alex_joni> heh
[18:05:33] <SWPadnos> I mentioned that the ancient Egyptians may have preceded that by a little :)
[18:07:50] <alex_joni> * alex_joni likes seshat better
[18:08:11] <alex_joni> wonder if there's a non RT OS called Seshat .. that would be ironic
[18:09:06] <SWPadnos> interesting. almost the same set of "skills" as Thoth
[18:09:20] <alex_joni> it's the female counter-person
[18:09:31] <SWPadnos> yep - I guess Thoth took over later on
[18:33:47] <skunkworks_> SWPadnos: did you end up kayaking(sp)
[18:34:06] <SWPadnos> no, the tour we had signed up for was cancelled due to high winds
[18:34:08] <skunkworks_> * skunkworks_ really needs to get a irc client installed that does spell checking
[18:34:19] <SWPadnos> you had it right :)
[18:34:19] <skunkworks_> yeck
[18:34:28] <skunkworks_> wow - that is suprising
[18:34:54] <SWPadnos> yeah. we asked them about it, since we have kayaks and are pretty good with them, but when they described the waves as "treacherous", we decided to do something else :)
[18:35:11] <skunkworks_> good idea. :)
[18:35:25] <SWPadnos> it was very windy the entire time we were there
[18:35:51] <skunkworks_> it was pretty windy in vagas also.
[18:36:07] <SWPadnos> hmmm
[18:36:30] <SWPadnos> of course this week is supposed to be nice and sunny :)
[18:36:50] <skunkworks_> I was really happy with the weather
[18:37:01] <skunkworks_> (beats ice and snow storms)
[18:37:05] <SWPadnos> heh
[18:37:08] <SWPadnos> which we returned to
[18:37:32] <SWPadnos> we had to circle a few times waiting for it to get clear enough to see the runway
[18:37:59] <SWPadnos> figures: http://www.wunderground.com/cgi-bin/findweather/getForecast?query=las%20vegas,%20nv&wuSelect=WEATHER
[18:38:05] <skunkworks_> when we got back to st paul - it was 0
[18:38:19] <SWPadnos> oh, that's a little worse than here - it was 12 or so for us
[18:38:22] <SWPadnos> and snowing
[18:38:56] <skunkworks_> we drove home from the airport - about 2+ hours and the roads where very good.
[18:39:04] <SWPadnos> I guess I should go out and snow-blow the driveway and clear off the Jeep (so I don't have to do it at 6:00 tomorrow morning)
[19:14:51] <jepler> so I've been thinking about how to correlate a halscope trace with a real scope trace. I think it can be done if you have two spare digital output signals that you can update in the same HAL thread as you are doing your capture, and which you can capture on your scope. Signal 1 is a 2*PERIOD square wave, and signal 2 is a LFSR output with period long enough to correctly correlate with the right part of the halscope trace. A third signal would go
[19:15:57] <jepler> with the LFSR signal you can generally match up the two traces; with the square wave signal you can see the cycle-to-cycle jitter. leaving off the square wave, you could get the match and assume jitter is "low enough not to matter" when matching the traces.
[19:36:59] <alex_joni> you got cut off at "A third signal would go"
[19:40:37] <jepler> A third signal would go in one direction or the other to force halscope and the real scope to trigger at around the same time.
[19:44:38] <alex_joni> what's "waiting for s.axes" ?
[19:44:58] <jepler> axis prints it when task hasn't set up a plausible-looking status buffer in a timely fashion
[19:45:07] <alex_joni> hmmm
[19:45:12] <alex_joni> * alex_joni wonders why
[19:45:16] <jepler> could be because of a real problem in task or it could be because task is just slow
[19:45:31] <alex_joni> I get it about 15 times
[19:45:34] <jepler> axis needs to know s.axes (essentially, which axis letters exist) before it can fully configure itself
[19:45:37] <alex_joni> on a certain config
[19:46:59] <alex_joni> ah, might be because of the VM
[19:47:43] <alex_joni> I get the same behaviour on stepper/stepper_mm.ini, so it's probably VMware
[23:06:56] <seb_kuzminsky> jepler: the 1:2.3.0~beta1 changelog mentions hm2 on 5i20 and 7i43, but not on the rest of the supported anyio boards
[23:07:08] <jepler> seb_kuzminsky: please feel free to retcon it
[23:07:20] <seb_kuzminsky> should i change the changelog for that version, or should i change it in 2.3.0-beta2?
[23:07:36] <jepler> I don't know, either way is a bit confusing
[23:07:49] <jepler> I think making a more accurate description of beta1 by changing its changelog after release is OK
[23:08:30] <seb_kuzminsky> ok will do
[23:11:06] <seb_kuzminsky> * seb_kuzminsky kicks CIA-2
[23:11:06] <CIA-2> ow
[23:11:08] <CIA-2> EMC: 03seb 07TRUNK * 10emc2/debian/changelog: retroactively fix the hostmot2 blurb in the changelog
[23:11:10] <seb_kuzminsky> heh
[23:20:52] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/drivers/hostmot2.lyx: add info on hal pins and parameters
[23:21:49] <alex_joni> good night all
[23:22:01] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/drivers/images/5i20-halpins.png: add image before buildbot catches me
[23:22:09] <BigJohnT> good night alex_joni
[23:22:31] <seb_kuzminsky> that looks great BigJohnT
[23:22:46] <BigJohnT> dang your quick seb_kuzminsky
[23:23:55] <BigJohnT> hey seb_kuzminsky does mesa have a breakout board for the 50 pin cable?
[23:24:52] <seb_kuzminsky> i dont know...
[23:25:00] <seb_kuzminsky> i havent seen one
[23:25:28] <seb_kuzminsky> there are some 50-pin ribbon-to-screw-terminal boards listed on the wiki
[23:25:41] <BigJohnT> ok, just wondering aloud how you might hook an encoder up....
[23:25:51] <BigJohnT> on the emc wiki?
[23:26:26] <seb_kuzminsky> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware
[23:26:36] <seb_kuzminsky> search for "Commercial breakout boards"
[23:27:10] <seb_kuzminsky> i'm using a 7i30 quad 100w servo driver
[23:27:31] <seb_kuzminsky> it's got a big fat 3x3 connector for each servo, with the encoder lines on it
[23:31:56] <BigJohnT> dang terminal blocks must be costly...
[23:33:23] <SWPadnos> they're quite expensive
[23:33:44] <SWPadnos> for good ones, with detachable plugs, you've got to figure $1+ per contact
[23:33:59] <SWPadnos> it's maybe $0.50 per contact for not very good, not-detachable ones
[23:34:15] <SWPadnos> unless you're ordering 10k or more parts/year
[23:36:01] <SWPadnos> bbl
[23:47:59] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/gcode/main.lyx: add info to probe logging
[23:48:35] <BigJohnT> oh crumb the image is too big
[23:53:35] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/drivers/images/5i20-halpins.png: adjust image size
[23:59:44] <CIA-2> EMC: 03seb 07TRUNK * 10emc2/docs/man/man9/hostmot2.9: Added HAL object name examples to the manpage.
[23:59:45] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/drivers/hostmot2.lyx: that looks better