#emc | Logs for 2004-10-30

Back
[00:49:43] <alex_joni> hello
[00:56:41] <Moose> anyone here?
[01:53:31] <asdfqwega> * asdfqwega is asdfqweging
[01:55:49] <paul_c> * paul_c is just about awake
[01:57:11] <tbl> morning paul
[01:57:32] <paul_c> Afternoon Mike
[01:59:55] <tbl> just waking up?
[01:59:59] <tbl> night owl much?
[02:00:15] <paul_c> nah... Just felt knackered
[02:00:28] <asdfqwega> Ew...that sounds bad
[02:00:36] <A-L-P-H-A> "knackered"?
[02:00:55] <asdfqwega> I imagine hairy palms are involved....
[02:01:04] <paul_c> "tired", "shagged", "pooped"
[02:01:06] <A-L-P-H-A> <shudders>
[02:03:14] <asdfqwega> So now there's three choices: Either narcolepsy, Austin Powers fanatic, or a scat-freak?
[02:03:58] <cradek> asdfqwega: you're reading *way* too much into this
[02:04:59] <asdfqwega> Really?
[02:06:35] <asdfqwega> * asdfqwega is a little wired on Sobe "energy drinks"
[02:09:16] <cradek> seen those around; haven't tried them
[02:09:34] <cradek> * cradek drinks decaf coffee by the gallon (or litre)
[02:10:00] <paul_c> * paul_c does neat caffine
[02:10:21] <cradek> ?REDO FROM START
[02:15:50] <asdfqwega> What is "neat caffeine"?
[02:16:21] <paul_c> coffee so strong the spoon stands up in the cup.
[02:16:55] <asdfqwega> ...with the constistancy of roofing tar, and 27 time the caffeine of regular coffee.
[02:17:19] <asdfqwega> Miss your dosage for an hour, and you go straight into a coma.
[02:19:03] <paul_c> Not quite that bad...(yet).
[02:19:03] <asdfqwega> I've seen that kind of thing served as a desert...
[02:19:35] <asdfqwega> ...a slice of coffee, done kind of a la mode...but instead of ice cream, they pour Pepto Bismol over it
[02:19:54] <asdfqwega> Keeps it from eating the bowl.
[02:22:04] <cradek> hmm, that sounded good until the pepto bismol
[02:22:04] <asdfqwega> My dad likes his own coffee...he makes what I call a crap-achino
[02:23:24] <asdfqwega> I like the coffee I saw in some truck commercial on TV some time ago...
[02:23:49] <asdfqwega> Waitress pours the coffee...and it's lumpy
[02:24:48] <asdfqwega> * asdfqwega 's secret to good tasting, strong coffee - add a dash of salt
[02:25:56] <paul_c> * paul_c found a good coffee bar in Three Rivers CA
[02:26:12] <asdfqwega> Good for you
[02:26:12] <paul_c> They do a "Caffine Overload"
[02:27:40] <asdfqwega> Turkish coffee?
[02:28:06] <paul_c> Regular with one or more shots of expresso
[02:28:36] <asdfqwega> Oh, is that all :)
[02:28:56] <asdfqwega> Ever try Bawls?
[02:29:54] <paul_c> a beer ?
[02:30:40] <asdfqwega> No, it's a beverage based on a fruit extract, you can order it from Thinkgeek.com
[02:30:57] <asdfqwega> It comes in a blue bottle, and you can order it by the case.
[02:31:17] <paul_c> Ah... no I haven't.
[02:31:26] <asdfqwega> [and wait for it...]
[02:31:49] <asdfqwega> Get yourself a case of blue Bawls...
[02:34:50] <asdfqwega> * asdfqwega heads on out to the shop
[02:35:21] <paul_c> Shipping Restrictions:
[02:35:21] <paul_c> We cannot ship this item
[02:35:22] <paul_c> outside of the U.S.
[03:13:07] <tbl> my last day at sherline, uninstalling mirc. farewell!
[03:13:18] <tbl> mjoyce@obstinate.org if any wish to reach me
[04:11:06] <cradek> holy cow, I wonder where tbl is going
[04:15:50] <paul_c> "Gone"
[05:16:36] <zwisk> hmmm... darned timing out nonsense...
[05:18:42] <paul_c> Evening zwisk
[05:18:53] <zwisk> good afternoon :)
[05:19:23] <paul_c> If you prefer ;)
[05:19:48] <zwisk> It's just that pesky timezone thing. How are things on your side of the pond?
[05:20:32] <paul_c> damned fireworks are starting to annoy...
[05:20:49] <paul_c> Not even November 5th yet
[05:20:57] <zwisk> You guys are celebrating our upcoming elections already?! :)
[05:21:40] <paul_c> Nov. 5th is the day we traditionally blow up the Houses of Parliment
[05:21:55] <paul_c> and burn an effigy
[05:22:14] <paul_c> (spelling's gone to pot tonight..)
[05:22:41] <zwisk> sounds like lots of fun! :) Funny that political things happen so close to Halloween. Coincidence?? I think not...
[05:24:13] <zwisk> What do folks think about doxygen for use with emc2?
[05:24:28] <paul_c> so eho is going to win the "President of the year" contest...
[05:24:44] <paul_c> \eho\who\
[05:25:18] <zwisk> ugh... Larry Ellison? :)
[05:25:21] <paul_c> Doxygen is a useful tool for developers...
[05:26:02] <paul_c> To get the best out of it, it does require the source code to be tagged
[05:26:31] <zwisk> absolutely. (Tagged source code) But... that goes a long way to overall readability (and understanding) of source code anyway.
[05:27:11] <paul_c> tagging can make some of the comments look "odd"
[05:28:55] <zwisk> true enough. It does encourage some standard comments though, and provides for web accessible references and a lot more visibility.
[05:29:41] <paul_c> sounds like you are itching to do something else
[05:30:20] <zwisk> Eh... not necessarily. I just stumbled on some of the output for doxygen for a project I'm working on, and thought it was kinda cool.
[05:30:38] <zwisk> package support would be my next target for emc, I think...
[05:30:49] <zwisk> I also have some interest in getting a jog wheel to work.
[05:31:18] <zwisk> Did you see my relative path checkin? Any comments?
[05:31:22] <zwisk> (Hi acemi!)
[05:31:32] <paul_c> I did some tagging in the interpreter code for the lath_fork
[05:32:45] <acemi> hi
[05:32:59] <paul_c> Hello acemi
[06:22:14] <Pigi> hi all
[06:26:09] <paul_c> Evening
[06:27:01] <Pigi> Nice piece of code the "freqfunc" ehehe
[06:27:57] <Pigi> it remember me the old mot that was around a lot of years ago.....
[06:28:07] <paul_c> Isn't it just ;-/
[06:28:34] <Pigi> "real programmers don't comment their code. If it has been hard to write, it MUST be hard to read "
[06:28:52] <paul_c> Not my doing
[06:29:46] <Pigi> just kidding. I always had a lot of respect for those that palys in code with those xor and so on ::)
[06:31:34] <paul_c> so are you making sense of it all ?
[06:33:05] <Pigi> I will try to put some debug in stdout, to understand really how it works.....
[06:33:18] <paul_c> no
[06:33:33] <Pigi> why not? for timing ?
[06:33:37] <paul_c> You can NOT print to a console in realtime code
[06:33:54] <paul_c> printf is a usr space call
[06:34:23] <Pigi> I remember there should be some kernel print .... something
[06:34:32] <paul_c> If you must use a print call
[06:34:33] <Pigi> isn't freqmod a kernel module ?
[06:34:53] <paul_c> diagnostics("print me\n");
[06:35:31] <paul_c> If you look at drivers/diagnostics.h
[06:35:38] <Pigi> ok, that's good enough for me. I would try to understand the logic, before trying some hack
[06:35:52] <paul_c> you will see the call def'd to the correct print call.
[06:36:01] <Pigi> ok, thx
[06:36:15] <paul_c> BUT you don't want to be printing from a 25uSec thread
[06:36:39] <paul_c> and remember, no floating point prints either...
[06:37:01] <Pigi> I can try to reduce the speed. It is only to understand the way it works.
[06:37:54] <paul_c> The print calls get sent to klogd, and if you try to send too many, the daemon gets overloaded
[06:38:30] <Pigi> right
[06:38:33] <paul_c> You may be better off using the non-realtime version (if it is still compiled)
[06:39:29] <paul_c> Hmmm... emcmotsim looks like the one..
[06:39:35] <Pigi> I was thinking the same thing. Only should guess how to compile and start it.
[06:41:19] <paul_c> Or you could pull freqfunc out and wrap it in your own main() loop
[06:41:24] <Pigi> moreover, I was thinking to collect info for only 2 or three steps.
[06:41:49] <Pigi> that's what I did, but a lot of variables aren't initialized correctly outside the whole program
[06:43:12] <paul_c> You'd probably need to include some of the *glb.h headers
[06:44:26] <Pigi> ok
[06:47:00] <Pigi> my code was working, but outside the whole scope of module it has not toomuch sense.
[06:47:58] <paul_c> I found the setup & hold times made the routine a lot more difficult to read.
[06:48:20] <Pigi> would you give a look at it ?
[06:48:35] <paul_c> at freqfunc ?
[06:48:48] <Pigi> no, obviously. At my code :)
[06:48:56] <paul_c> can do..
[06:49:03] <Pigi> dcc ?
[06:49:09] <paul_c> sure
[06:49:26] <zwisk> looks like babu is callin' 'ya out, paul! :)
[06:49:49] <paul_c> * paul_c can bluff it through ;}
[06:50:47] <paul_c> Ah... on emc-users
[06:51:06] <zwisk> yeah...
[06:51:41] <paul_c> why would he want an RT fifo to use for message passing...
[06:52:14] <paul_c> EMC already has a network server...
[06:52:37] <zwisk> I guess his emphasis was probably on the "easy to use" part. :P
[06:52:55] <paul_c> (the swine)
[06:53:48] <Pigi> if you just compile, it will output some infos, but as you can see it's not to much significant ( hope this is the correct word )
[06:55:27] <paul_c> int main(void) { return 0;}
[06:55:48] <Pigi> eheheheh. something like this, yes ;-)
[06:55:52] <paul_c> at the mo, just the byte generation code.
[06:56:11] <Pigi> right. That' where I should work more.
[06:58:53] <paul_c> So where do you need my help ?
[06:59:06] <Pigi> The idea was to keep everithing but this part from the module
[06:59:07] <Pigi> and change this part with some function that works on a different bit generation routine that is parametrizable
[06:59:07] <Pigi> ( apologize for my strange english )
[06:59:21] <paul_c> not a problem
[07:00:38] <paul_c> You want to scan a table of definitions to see which pin is step[axis N] and direction[axis N] ?
[07:00:59] <Pigi> that would be great,
[07:01:10] <Pigi> But I don't won't to disturb at present
[07:01:16] <paul_c> but you're not sure how to do it...
[07:01:29] <Pigi> just asking some info, here and there to clarify.
[07:01:42] <Pigi> yes
[07:02:16] <Pigi> paul_c: this scan table is on docs.
[07:02:31] <paul_c> A starter might be to use a simplified source with out all the cruft
[07:03:00] <paul_c> No mention of a scan table - i was just bouncing ideas
[07:03:19] <Pigi> eheheh. Sorry, but on irc my english get even worst :)
[07:03:39] <paul_c> wait til the americans turn up ;}
[07:03:46] <Pigi> eheheheh
[07:04:24] <cradek> hey
[07:04:27] <cradek> I resemble that remark
[07:04:28] <paul_c> What kernel and realtime patch are you using ?
[07:05:09] <Pigi> paul_c: if the question was for me, i'm on 2.4.25-adeos and rtai2.2
[07:05:13] <paul_c> cradek: Not intended as a personal dig...
[07:05:16] <Pigi> s/rtai2.2/rtai3.2
[07:06:32] <cradek> paul_c: I know, if I was serious I would have said `resent' instead of `resemble'
[07:14:58] <picnet> * picnet tips hat.
[07:40:34] <paul_c> Evening picnet
[08:29:03] <Pigi> nite all
[09:40:35] <paul_c> Time for bed
[13:24:42] <zwisk> anybody still stirring?
[13:28:05] <zwisk> not even a mouse...
[16:02:13] <asdfqwega> Haha, whee.
[16:02:22] <asdfqwega> Anybody here?
[16:02:34] <asdfqwega> Of course not.
[19:07:07] <zwisk> greetings...
[19:09:41] <zwisk> wow... is it good morning now, Paul?
[19:10:11] <paul_c> You been up al night ??
[19:10:24] <zwisk> I guess.. It's only 2am here...
[19:11:46] <zwisk> so, do folks *like* the emc.ini gets rewritten at cleanup time?
[19:13:18] <paul_c> Probably not
[19:13:49] <paul_c> Although if you are tweaking th ePID gains, it needs to be written back...
[19:15:01] <zwisk> hmmm... yes. I guess a configuration tool would be nice for that. It seems to me that the X, Y, Z locations and such should be stored in some sort of state file, not the ini file.
[19:16:54] <zwisk> perhaps something in /var/run/
[19:18:30] <paul_c> I dislike the idea of configs for an application being split up and scattered around the system.
[19:18:52] <paul_c> it kinda makes mockery of the K.I.S.S. rule.
[19:19:22] <zwisk> hmm... yes, but is that really a config? Rewriting a config file has lots of complications.
[19:21:31] <zwisk> Speaking of rewriting... I've noticed that OUTPUT_SCALE gets rewritten to 1 all the time for me.
[19:22:33] <paul_c> I would suggest taking that up with John - He is the one that has been messing around with the config variables.
[19:22:54] <zwisk> hmmm. ok. will do. Thanks.
[19:23:27] <zwisk> All of my axis are 2.54x out of whack on emc2 as compared to emc1.
[19:25:02] <paul_c> 2.54 is the imperial<=>metric conversion factor
[19:25:12] <zwisk> yup. Exactly.
[19:27:55] <paul_c> a quick'n'dirty hack to prevent the ini file from changing
[19:28:07] <paul_c> chattr +i emc.ini
[19:28:16] <zwisk> ahh yes... immutability.
[19:28:20] <zwisk> chmod a-r doesn't work?
[19:29:05] <paul_c> root would still be able to write to the file.
[19:29:53] <zwisk> whoops ... s/r/w/
[19:31:11] <paul_c> root can still write to it
[19:31:28] <paul_c> even if the w flag is disabled
[21:17:24] <paul_c> A new user ?
[21:25:14] <emc> hi.
[21:25:51] <emc> whoops... :)
[21:25:59] <emc> didn't expect this channel to be here... ;)
[21:26:27] <paul_c> Been running for over a year now
[21:26:55] <emc> cool... wshat is this channel about? what enhanced machine control?
[21:27:33] <paul_c> as per topic - Yes.
[21:30:13] <emc> sorry, i wanted to ask: what is "enhanced machine control" ?
[21:30:54] <paul_c> www.linuxcnc.org
[21:38:36] <paul_c> back in a bit...
[21:39:07] <emc> sounds good.
[21:39:34] <emc> what kind of machines are you controlling with that software?
[21:50:41] <paul_c> anything from a laser engraving machine to a simple mill
[22:02:16] <emc> cool
[22:03:26] <paul_c> It can also control Stewart platforms and a number of different types of robotics.
[22:09:23] <emc> nice thing!