#emc-devel | Logs for 2010-08-26

[01:21:14] <cradek> weird - I am getting spurious "program ended with no percent sign or program end"
[01:21:23] <cradek> although everything runs fine
[01:21:52] <cradek> running 1:2.5.0~pre0-712-gfb2d3c5
[01:23:55] <cradek> in other news, jr does a really good job tapping holes in steel...
[01:25:12] <skunkworks> Nice!
[01:25:47] <skunkworks> dad measured the cable - we are running the single ended encoder over 20ft
[01:26:07] <skunkworks> the line drivers came in. Hope to try them this weekend
[01:26:08] <cradek> are your drivers on the way?
[01:26:11] <cradek> ah cool
[01:27:47] <skunkworks> we are close enough to digikey that most of the time we get our order the next day
[01:28:18] <cradek> wish I was that close to enco...
[01:28:43] <skunkworks> heh
[01:32:51] <Dave911> cradek: I've seen that before, it was caused by an error in the program.
[01:33:30] <cradek> what kind of error?
[01:34:17] <Dave911> I can't remember... But it was pretty obvious.
[01:34:37] <Dave911> I've seen that a few times.
[01:35:18] <cradek> I've definitely seen it for missing M2, but I had M2 in these couple programs I've been using tonight
[01:35:34] <cradek> I'll try to reproduce it (later...)
[01:36:16] <Dave911> Perhaps it will pop into my head ... if so I will let you know.
[01:36:21] <cradek> thanks
[01:41:06] <skunkworks> an extra line feed maybe?
[02:09:15] <morfic> cradek: what does emc2 do with a missing ) ? like would it treat the rest of it as a "unterminated" comment, ignoring all M2 and % there may be, or would it just call you out on the missing ) ?
[02:17:47] <Al_Smt> cradek, if you get time could you check out this patch http://pastebin.ca/1925576 and this one also http://pastebin.ca/1925580
[02:18:58] <Al_Smt> more tkemc refinement & Set_Coordinates.tcl
[02:48:53] <Al_Smt> talk @ u latter
[13:11:23] <Al_Smt> cradek, hold on the patch!
[13:17:19] <Al_Smt> i made some more changes for you to look @
[13:45:23] <alex_joni> mozmck: I just installed from your latest LiveCD
[14:12:29] <alex_joni> latency test shows 9000 max latency
[14:12:39] <alex_joni> this is a crappy E2150 or such (dual-core)
[14:34:10] <Al_Smt> cradek, if you try these http://pastebin.ca/1925919 http://pastebin.ca/1925920
[14:35:09] <Al_Smt> Set_Coordinates got broken with the tkemc.tcl patch that was pushed
[14:35:33] <cradek> oops
[14:35:34] <cradek> looking
[14:38:30] <cradek> can you describe what lines 140-188 of http://pastebin.ca/1925919 are doing? I can't follow it
[14:40:05] <Al_Smt> this change would make tkemc display all work offsets
[14:41:23] <cradek> ok
[14:41:41] <cradek> but I don't follow the code with axnumber and numaxes2 being compared to 5,5,4,4,5,5,7,8,9
[14:46:18] <Al_Smt> if there axis number from ini is > say 5 && there is B in $coorinates than then set axis number true for ? than els
[14:47:30] <cradek> if {$numaxes2 >= 5 && [ string first "X" $coordnames2 ] >= 0 } {
[14:47:52] <cradek> but why are 5 axes required to get an X readout?
[14:48:47] <Al_Smt> 5 comes from ini AXIS = 5
[14:49:25] <cradek> I must not be saying what I mean clearly
[14:49:52] <cradek> the numbers 5,5,4,4,5,5,7,8,9 for x,y,z,a,b,c,u,v,w don't make any sense
[14:50:03] <cradek> shouldn't they be 0,1,2,3,4,5,6,7,8 or similar?
[14:50:30] <cradek> and I don't understand how axnumber is used
[14:50:58] <cradek> could this all be written more clearly without axnumber and without ?: operator?
[14:52:21] <Al_Smt> i'm sure
[14:56:20] <Al_Smt> what about set_coordinates?
[14:57:50] <cradek> these two patches work independently?
[14:57:59] <Al_Smt> yes
[14:59:01] <Al_Smt> but there is a bunch of unused code at the top of the other patch that could come out
[15:00:32] <Al_Smt> line 9 to 58
[15:00:40] <cradek> ok, you want to rework them and let me know? it would be great if you could make git patches with 'git format-patch' like you did before, because then when the change is ready it's easier for me, and you get credit for authorship.
[15:04:00] <Al_Smt> i can't seem to get git to work correctly
[15:05:55] <cradek> maybe someone here can help
[15:07:15] <Al_Smt> ok
[18:55:35] <Al_Smt> cradek, here is the patch for Set_Coordinates http://pastebin.ca/1926139
[20:45:21] <alex_joni> mozmck: installed a PC from LiveCD, no issues
[20:45:36] <alex_joni> latency is wonderfull, everything else seems just about right
[20:45:44] <alex_joni> sources, etc
[20:46:44] <alex_joni> I would say we should "officialize" it
[21:08:02] <seb_kuzminsky> i agree - the lucid livecd works great
[21:15:29] <skunkworks> same here
[21:34:32] <cradek> I installed my lathe with it too
[21:35:58] <jepler> cradek: the one you were stubbornly leaving on 2.3.x?
[21:36:39] <cradek> yeah it's running buildbot/master now
[21:36:57] <cradek> it wasn't stubbornness - it was sloth
[21:38:55] <seb_kuzminsky> sloth (well, laziness, technically) is one of the three principal virtues of the programmer
[21:39:51] <cradek> - are divided into two groups: the three-toed sloths, among which is the ai, and the two-toed sloths, among which is the unau.
[21:39:57] <cradek> err
[21:40:01] <cradek> sloths are divided into two groups: the three-toed sloths, among which is the ai, and the two-toed sloths, among which is the unau.
[21:40:44] <cradek> I made a new video of tapping a bunch of holes in steel - I'd put it on youtube except it looks exactly like tapping a bunch of holes in aluminum, which I've already put up there.
[21:40:53] <jepler> I haven't tried the latest, but consider it a show of confidence in the work the rest of you are doing
[21:41:14] <cradek> I think master is in fairly great shape
[21:41:45] <skunkworks> cradek: so?
[21:41:53] <cradek> of course the features *I* wrote are the best and most useful ones
[21:41:53] <skunkworks> it is steel!
[21:42:00] <jepler> I think cradek is saying he wants to be the release manager of 2.5 and wants it to go out soon
[21:42:04] <jepler> I think that's marvelous news
[21:42:10] <skunkworks> heh
[21:42:37] <cradek> exactly, except it should be ....... anyone but me
[21:43:13] <cradek> heck I don't think everyone is using 2.4 yet. maybe not even most people.
[21:43:33] <cradek> but there's some darn useful stuff on master
[21:48:19] <cradek> skunkworks: darn, most of the URLs in your email are mangled
[21:48:33] <cradek> er you fixed it, sorry
[21:58:39] <skunkworks> cradek: yes - I suck at copy and paste I guess. (didn't look)
[22:00:09] <seb_kuzminsky> skunkworks: i'm revoking your internet license
[22:00:48] <seb_kuzminsky> you do, however, get to keep your k&t converting license... that's a super cool project, it's neat to see it come together
[22:00:48] <skunkworks> seb_kuzminsky: it was fake anyway
[22:06:21] <alex_joni> you'd have to have a typing license before you get an internet license
[22:09:20] <skunkworks> alex_joni: hey now - be nice ;)
[22:10:42] <alex_joni> oh, wasn't talking about you :P
[22:11:34] <skunkworks> I resemble that remark
[22:11:47] <alex_joni> :P
[22:12:07] <alex_joni> kidding, the progress on the K&T is remarcable
[22:12:15] <alex_joni> can't wait for you to start the puma :P
[22:18:37] <skunkworks> we are getting there :)
[22:19:10] <alex_joni> you need to fit it some wheels, then we'll make it autonomous
[22:39:17] <Al_Smt> cradek, did you take a look at that set coordinates patch?
[23:04:52] <mozmck> alex_joni: That's fine with me. I haven't heard any negative feedback on it that I know yet.
[23:05:02] <CIA-5> EMC: 03seb 07master * re897a989c680 10/src/hal/classicladder/emc_mods.c: reindent only, no code changes
[23:05:04] <CIA-5> EMC: 03seb 07master * r103bf96413ef 10/src/hal/classicladder/emc_mods.c: fix a null pointer dereference
[23:05:05] <CIA-5> EMC: 03seb 07master * rde892371b53a 10/src/hal/classicladder/ (19 files): remove execute permissions from some source files
[23:06:09] <seb_kuzminsky> hm maybe those commits belonged in 2.4 more... or at least the null pointer one
[23:06:13] <seb_kuzminsky> well, laters
[23:19:06] <jepler> wow that code identation does just make your eyes water, doesn't it.
[23:20:33] <jepler> I'm pretty sure that a NULL there is a can't-happen but whatever you have to do to keep our machine overlords happy...
[23:20:53] <jepler> though you might try %W-1 just for grins
[23:45:47] <Al_Smt> cradek, Set_Coordinates.tcl was broken before you pushed that patch it was only able to access 6 axis's
[23:46:51] <Al_Smt> if you called for more than 6 it would not start