#emc | Logs for 2009-06-20

[01:58:01] <SWPadnos> genfool_, which sim configuration? they use different user interfaces
[02:18:12] <SWPadnos> wow. remind me to not ever have anyone get educated in Wisconsin (no offense): http://www.aerbvi.org/modules.php?name=News&file=article&sid=1670
[02:18:32] <SWPadnos> at least not if they're blind or visually impaired
[02:19:30] <eric_unterhause1> maybe that was typed by a blind person
[02:19:41] <SWPadnos> well they use braille, you see
[02:19:45] <SWPadnos> (no pun intended)
[02:20:41] <eric_unterhause1> I always liked braille signs in the middle of a wall
[02:21:06] <SWPadnos> yeah. the users of those signs usually need some orientation for the building
[02:21:08] <eric_unterhause1> like the no smoking sign at a local restaurant
[02:21:18] <SWPadnos> they're generally at the same height / position for each room / door / hallway ...
[02:21:23] <SWPadnos> yeah
[02:21:31] <eric_unterhause1> at a door is one thing
[02:21:52] <SWPadnos> one of my favorite sayings: "having a no smoking section in a restaurant is like having a no peeing section in a pool"
[02:22:09] <eric_unterhause1> this was in the men's room, I can visualize a blind person feeling all over the walls to see if it's ok to smoke
[02:22:17] <SWPadnos> heh
[02:22:27] <eric_unterhause1> that was one nice thing about Utah
[02:22:37] <eric_unterhause1> no smoking in bars either
[02:22:39] <genfool_> SWPadnos, I have 8.04 with emc installed. When I run a sim, see the gcode but that is all? Think I am missing a step here.
[02:22:55] <SWPadnos> which sim config are you running?
[02:23:17] <SWPadnos> if you're expecting to see an animated machine, you need to run one of the vismach configs
[02:23:23] <SWPadnos> (I don't know exactly which ones those are)
[02:26:18] <genfool_> SWPadnos, OK, thanks, I will look for those, not getting any errors, may be a good sign, expected something on screen to move.
[02:26:43] <SWPadnos> nothing will move until you bring the machine (even if it's simulated) out of estop and turn it on
[02:26:51] <SWPadnos> and then run the G-code program
[02:27:02] <SWPadnos> or you could jog or type MDI commands at that point
[02:27:16] <toastydeath> G0 Z-4000.0 (CRASH MACHINE)
[02:27:27] <SWPadnos> the sim configs are actually running the "full" EMC, just without any hardware drivers or hardware
[02:27:47] <SWPadnos> the GUI doesn't know or care that there's no hardware attached, so it operates exactly as though there was
[03:11:01] <Jymmm> jepler: You interested in a WakeOnLan script?
[03:48:23] <stustev> How do I use the tool length offset in my kinematics file? I am using TLO_IS_ALONG_W and I need to use it in my kinematics file (I think). Today's kins and config files are on www.mpm1.com:8080/5axhydrotel.ini 5axhydrotel.hal 5axhydrotelgui.py 5axhydrotelkins.c These compile and run and look pretty good. They need to handle the tool length better.
[03:49:18] <cradek> hey stuart
[03:49:24] <stustev> hi chris
[03:49:35] <cradek> can you describe "better" better?
[03:49:45] <stustev> better means better :)
[03:49:53] <SWPadnos> I can't believe it's not better
[03:49:58] <stustev> here goes
[03:51:10] <Jymmm> Parkay
[03:51:21] <stustev> the pivot length correction doesn't calculate using the tool length
[03:51:32] <stustev> better butter
[03:52:48] <stustev> I modified it today to display a tool in the machine sim and changed the pivot length to an ini value
[03:55:09] <cradek> oh i updated halui to show the three TLOs, but I forgot to check it in
[03:56:22] <stustev> will that let me use the offset in the kins?
[03:56:54] <cradek> well I'm not sure what you're wanting to do - there are bigger problems than not knowing the value
[03:57:20] <stustev> what are the bigger problems?
[03:57:24] <cradek> if you change lengths in kins, you get position jumps. that's why I put the TLO on an axis, so it can be interpolated along when you issue a move.
[03:57:39] <cradek> kins is the wrong place to do TLO
[03:57:59] <cradek> (or any kind of a change that causes a jump in position, like coordinate rotation)
[03:58:25] <stustev> I would put it somewhere else but the kins has stretched my horizons
[03:59:11] <Jymmm> Three Letter Organization
[03:59:19] <SWPadnos> I think that chris is suggesting that you don't need to worry about it in kins, since the TP will move an axis for you
[03:59:21] <stustev> I think the XYZ skew should be in the same level as the lead screw comps
[03:59:24] <cradek> can you back up and say what behavior you want to change that has led you to wanting to handle TLO in kins differently from the current way?
[04:02:00] <stustev> I don't necessarily want to handle the TLO in kins. When I use a tool length the pivot length and the tool length are on top of one another and my calculation only uses the pivot length so the total XYZ compensation is much too short.
[04:02:27] <toastydeath> stustev: this is gcode from a CAM post, right?
[04:02:39] <SWPadnos> the gcode doesn't matter
[04:02:43] <stustev> no - this is MDI stuff
[04:02:45] <SWPadnos> he's writing a kins module
[04:02:51] <toastydeath> whoop, sorry.
[04:03:21] <cradek> so you just need to know the TLO + pivot length? but you have that
[04:03:51] <stustev> how do I get the TLO value in the kins module?
[04:04:13] <SWPadnos> err
[04:04:17] <SWPadnos> it's a move in Z or W
[04:04:22] <stustev> W
[04:04:26] <cradek> isn't it pivot length + axis[w] that you want?
[04:05:07] <stustev> if axis[w] is the same as the TLO then it will work
[04:05:12] <cradek> you don't want the TLO value, you want the pivoting radius, which you already have (I know this because you compensate for it)
[04:05:47] <stustev> the pivoting radius is the TLO (tool length) and the pivot length
[04:06:08] <stustev> that is not always equal to the pivot length and axis[w]
[04:06:10] <cradek> not if you're cutting up on the tool
[04:06:38] <cradek> (by setting negative W)
[04:06:44] <stustev> yes
[04:06:53] <cradek> so you really want pivot + w
[04:07:30] <cradek> double inversepivotlengthcompX = ((haldata->pivot_length + pos->w) * cos(d2r(pos->a)) * sin(d2r(pos->b)));
[04:07:33] <cradek> ^ same as here
[04:08:14] <stustev> ok then how do I get the pivot length and W to not be coincident?
[04:08:35] <cradek> I don't understand
[04:09:03] <stustev> get my file from today - compile and move the machine a little but with TLO and check the numbers
[04:09:08] <stustev> files
[04:09:31] <stustev> all four files are changed
[04:10:08] <cradek> _chris or not _chris?
[04:10:21] <stustev> not
[04:10:49] <stustev> that is the file you sent
[04:12:12] <cradek> ok, running
[04:12:25] <cradek> slowly homing... :-)
[04:13:08] <stustev> I changed the Z home to be like the cinci. The Z axis is home close to the top of travel.
[04:13:16] <cradek> neato, it shows a tool
[04:13:21] <stustev> si
[04:13:29] <cradek> you're getting good at this stuff
[04:13:59] <stustev> I have a few examples to copy :)
[04:16:40] <cradek> the motion looks right to me
[04:16:54] <stustev> the numbers are not correct
[04:17:03] <cradek> the red line the tool draws is deceptive because it doesn't move with the table
[04:17:15] <stustev> the pivot length and tool length are on top of one another
[04:17:33] <cradek> I don't understand
[04:18:39] <stustev> the compensated values are for the pivot length only
[04:19:12] <stustev> the numbers do not compensate for the tool length
[04:19:32] <cradek> yes I see you do not pos->w in the compensation sections of the code
[04:19:35] <cradek> so it will definitely be wrong
[04:19:42] <stustev> yes
[04:19:46] <cradek> pos->w effectively changes the pivot length
[04:19:56] <cradek> can't you just fix it?
[04:20:21] <stustev> if I could I would not have asked tonight :)
[04:20:29] <SWPadnos> heh
[04:20:39] <SWPadnos> I think you're looking at it too hard
[04:20:39] <cradek> I mean add pos->w to haldata->pivot_length wherever you use it
[04:21:14] <stustev> I will do it and see what happens - thanks
[04:21:32] <cradek> I wish I understood all the compensation code, but I have not studied it enough
[04:21:55] <stustev> is there something I can do to make it more readable?
[04:21:58] <cradek> but every time I look, it is more understandable, as you are changing the names to use descriptive words and adding comments
[04:22:42] <stustev> yes - I am trying to make it clearer - I will add some more comments
[04:22:48] <cradek> I don't have any suggestions except keep doing what you're doing
[04:23:07] <stustev> thanks
[04:23:30] <cradek> it was very easy for me to find and understand the pivot length part last night - it is just what I expected
[04:24:33] <stustev> C is getting a little easier to read
[04:25:02] <cradek> I think the answer to your question tonight is to remember that the radius of rotation is just pivot_length + pos->w (or pivot_length + joints[8], which is the same)
[04:25:30] <cradek> seems like you can just plug that in wherever you assumed earlier that the radius of rotation was only the pivot length
[04:27:04] <stustev> SWP: since you volunteered to fix the 'axis jogging' what kind of progress have you made? :)
[04:27:11] <cradek> haha
[04:27:18] <stustev> heh heh
[04:27:19] <cradek> go SWPadnos!
[04:27:20] <SWPadnos> hmmm
[04:27:23] <SWPadnos> let me summarize
[04:27:31] <SWPadnos> did you get that?
[04:27:44] <stustev> you have made that much progress?
[04:27:50] <SWPadnos> yes, at least
[04:27:54] <cradek> no news is good news!
[04:28:00] <SWPadnos> or some multiple of that
[04:28:01] <stustev> not exactly
[04:28:14] <SWPadnos> but I'm not Gary Gnu
[04:29:25] <stustev> I am off to work on a kins module - bbl (or maybe tomorrow) :) Chris - thank you very much
[04:29:40] <cradek> welcome, hope you get it
[04:29:49] <SWPadnos> see you . good luck
[04:30:00] <SWPadnos> or "good skill" :)
[04:30:39] <cradek> "may the force be with you"?
[04:30:44] <cradek> "godspeed!"?
[04:30:58] <SWPadnos> live long and prosper?
[04:30:59] <cradek> we sure need a non-superstituous version of "good luck"
[04:31:07] <SWPadnos> get it done already!
[04:31:17] <SWPadnos> hmmm, not positive enough
[04:31:41] <SWPadnos> non-superstitious, non-religious ...
[04:31:52] <cradek> http://ask.metafilter.com/77363/What-to-say-instead-of-Good-Luck
[04:31:55] <SWPadnos> (in case you want to distinguish ... )
[04:32:00] <SWPadnos> heh
[04:35:09] <cradek> I decline to comment on that
[04:36:27] <cradek> oh wow, "hope you get it", which is what I said, is in that thread
[04:36:36] <toastydeath> "May Thor's hammer be with you."
[04:37:20] <cradek> ha! http://ask.metafilter.com/60804/I-hope-that-you-all-succeed-at-solving-my-problem#915803
[04:37:31] <SWPadnos> By Grapthar's Hammer
[04:37:37] <SWPadnos> or however it's spelled :)
[04:38:47] <toastydeath> that is awesome cradek
[04:39:13] <cradek> gotta love ask-metafilter
[04:39:24] <cradek> it's good for stuff like this and for comic relief both
[04:41:01] <SWPadnos> crap. I think I have fiberglass in other places now
[04:41:13] <cradek> beware the contact lenses
[04:41:28] <SWPadnos> heh, yeah
[04:41:39] <cradek> (some day ask me about seeding hot peppers...)
[04:41:57] <SWPadnos> um. no, I have a much worse story etched into my brain
[04:41:58] <cradek> well actually, who hasn't made that mistake?
[04:42:21] <SWPadnos> it concerns my parents and sex, so it's never leaving (sadly)
[04:42:51] <cradek> I'm entertained by the idea of your story, and also hoping you won't share it
[04:42:56] <roh> hi cradek
[04:43:02] <cradek> hey
[04:43:14] <SWPadnos> don't worry, I won't
[04:43:18] <roh> jepler told me to talk to you about the git stuff :)
[04:43:19] <cradek> yay
[04:43:46] <cradek> roh: ok what about?
[04:43:46] <roh> cradek thought about using gitosis to manage the repo-acls?
[04:44:05] <cradek> I did read about it, and decided not to use it
[04:44:28] <cradek> I've got a perfectly great system working
[04:44:31] <roh> we migrated to it after doing without it.. helped a lot getting permissions working and avoiding having people fuck it up
[04:44:44] <cradek> heh, that's always the problem, isn't it
[04:44:58] <roh> using unix groups or how do you intend to seperate repo-perms?
[04:45:21] <cradek> not sure what you mean by separate
[04:45:46] <cradek> I'm using a freebsd jail for the processes related to git. this protects the real system from any possible problem with the git programs
[04:46:25] <roh> cradek usually one doesnt stay at 'only one repo' without gitosis git doesnt differenciate users besides file-permissions
[04:46:58] <roh> i didnt mean security issues. (which are also less stressfull since users dont need and have a shell)
[04:46:59] <cradek> I don't understand "stay at 'only one repo'"
[04:47:24] <roh> cradek take a look at http://git.openmoko.org/
[04:47:57] <cradek> sure, we have two already
[04:48:05] <roh> not people will want to use it to host their branches or tools also. but i don't think you want to have completely flat access
[04:48:34] <roh> means 'anonymous pull' via git:// or 'developer write everything via ssh'
[04:48:50] <cradek> I don't think we'll have that kind of use, but I can't predict the future with 100% certainty
[04:49:24] <roh> with gitosis its easy to add repos, user keys and 'just config it in and wiggle your groups' .. save, commit and push and admin work done.
[04:49:43] <cradek> roh: I appreciate the advice, but I'm confident with my setup and plan to go live with it in about 10 hours
[04:49:50] <malem-cnc> hi
[04:49:58] <malem-cnc> trying to run axis in debug
[04:50:19] <malem-cnc> ./axis -ini /usr/share/doc/emc2/examples/sample-configs/sim/axis.ini
[04:50:23] <malem-cnc> fails with
[04:50:34] <malem-cnc> shmctl: Invalid argument
[04:50:34] <malem-cnc> Traceback (most recent call last):
[04:50:34] <malem-cnc> File "./axis", line 3647, in <module>
[04:50:34] <malem-cnc> s.poll()
[04:50:40] <roh> cradek ;) no worries.. not the problem to migrate later if you redecide. only users change their config once and thats it (username to git@ for everybody)
[04:51:06] <cradek> malem-cnc: is emc running when you do that?
[04:51:15] <malem-cnc> nope
[04:51:18] <roh> cradek also check some blog-posting about repacking the repo from time to time.. else it gets slow and bloats
[04:51:33] <cradek> it's saying it can't talk to emc
[04:52:00] <roh> we had that problem on the more frequently used repos (some zig patches a day, and repos with some kernels in size)
[04:52:15] <malem-cnc> okay, I see, how do I start it as a background process
[04:52:31] <malem-cnc> (I have the simulator built...)
[04:52:40] <SWPadnos> attach to axis with gdb, you don't have to run it from the command line
[04:53:11] <malem-cnc> gdb to debug python code?
[04:53:21] <SWPadnos> yes
[04:53:24] <cradek> it's hard to debug python code :-/
[04:53:33] <Jymmm> cradek: it is?
[04:53:35] <malem-cnc> in fact I'm trying to run it from Eclipse/PyDev
[04:54:05] <cradek> malem-cnc: if you start emc2 with another gui (like xemc) you may be able to run axis in your thingy and attach to the running emc
[04:54:13] <SWPadnos> I think I had to tell gdb that the program was "python /path/to/axis" or something
[04:54:47] <malem-cnc> I see, I'll try this out
[04:54:49] <malem-cnc> thx
[04:54:57] <cradek> are you looking for a bug?
[04:55:05] <SWPadnos> listen to cradek first, he knows more than I do about this stuff :)
[04:55:15] <cradek> heh
[04:56:48] <Jymmm> SWPadnos: I doubt that, he just said he can't predict the future! Eeeesh if he can't even tells us next week's lottery numbers, what could he possibley know?!
[04:56:58] <SWPadnos> he didn't say that
[04:57:12] <SWPadnos> he said he couldn't predict the future with 100% accuracy
[04:57:26] <cradek> I'm actually pretty good at it, considering it hasn't happened yet
[04:57:28] <Jymmm> Fine, I'll take 5 of the 6
[04:57:30] <SWPadnos> s/accuracy/certainty/
[04:57:42] <malem-cnc> no, trying to figure out how axis is working
[04:58:31] <cradek> ah
[04:59:15] <malem-cnc> not easy, the way that code is "organized" :P
[05:06:06] <SWPadnos> well, have fun with it. good night
[05:07:54] <malem-cnc> thx, ciao
[05:33:38] <malem-cnc> ´╗┐SWPadnos?
[06:04:23] <malem-cnc> Tried to attach to emc via both eclipse and gdb console
[06:04:29] <malem-cnc> failed with run ./workspace/emc2-source/src/emc/usr_intf/axis/scripts/axis.py -ini ./workspace/emc2-source/configs/sim/axis.ini
[06:04:33] <malem-cnc> oups
[06:04:47] <malem-cnc> [Thread debugging using libthread_db enabled]
[06:04:47] <malem-cnc> [New Thread 0xb7d4a6b0 (LWP 12637)]
[06:04:47] <malem-cnc> [New Thread 0xb7858b90 (LWP 12638)]
[06:04:47] <malem-cnc> RTAPI: ERROR: could not open shared memory (errno=2)
[06:04:47] <malem-cnc> HAL: ERROR: rtapi init failed
[06:04:47] <malem-cnc> Traceback (most recent call last):
[06:04:49] <malem-cnc> File "./workspace/emc2-source/src/emc/usr_intf/axis/scripts/axis.py", line 3833, in <module>
[06:04:51] <malem-cnc> comp = hal.component("axisui")
[06:04:53] <malem-cnc> hal.error: Operation failed
[06:08:09] <malem-cnc> me go sleep, sorry for comments on 'axis' code organization, especially because it is not self evident that I'm in admiration about this project, and I plan to contribute significantly. just trying to imply that a 4000LOC file is hard to grasp
[10:39:48] <pilotltd> Quick linuxy type question regarding touch screens - got the screen to respond, but can't get calibration program to appear in admin menu?
[10:40:09] <pilotltd> done
[10:40:12] <pilotltd> Run "sudo apt-get install xserver-xorg-input-evtouch" in a terminal
[10:40:12] <pilotltd> and run the resulting
[10:40:12] <pilotltd> "Calibrate Touchscreen" applet in the System->Administration menu to
[10:40:12] <pilotltd> get touchscreen working
[10:50:11] <f7ee> So is it save to boot from LiveCD on a laptop?
[11:08:04] <f7ee> Yo, everybody, come on, come on, come on!
[11:28:16] <f7ee> hey?!
[11:49:11] <roh> meh
[11:57:41] <BigJohnT_> BigJohnT_ is now known as BigJohnT
[12:37:34] <i-pink> hii
[12:37:41] <i-pink> someone here?
[12:39:09] <BigJohnT> yes
[12:39:23] <i-pink> good..
[12:39:52] <i-pink> i am install the emc2 (ubuntu 8.04)
[12:40:28] <i-pink> but i dont know how to onnect the cnc to the lpt.. and configur the emc2 program
[12:41:40] <BigJohnT> what kind of cnc?
[12:43:01] <i-pink> is small cnc base on floppy motor.
[12:44:30] <i-pink> the controlling is by to wire,
[12:44:43] <i-pink> BigJohnT, ^^
[12:45:02] <BigJohnT> I don't understand
[12:45:36] <BigJohnT> do you have stepper drives to run the motors?
[12:45:45] <i-pink> yes yes
[12:46:31] <BigJohnT> use the stepconf wizard to configure EMC
[12:47:24] <i-pink> from the driver motor i get 2 wire, one for up stepping and the other for down stepping
[12:47:46] <pilotltd> i-pink - go to stepper drive suppliers site, they should tell you how to wire them.
[12:48:18] <BigJohnT> normally you have one step pin and one direction pin
[12:49:01] <pilotltd> plus common
[12:49:30] <i-pink> yes i know that
[12:50:25] <BigJohnT> you will have to change the stepgen type to 1
[12:50:34] <BigJohnT> http://www.linuxcnc.org/docview/html//hal_rtcomps.html#sec:Stepgen
[12:51:15] <i-pink> i want to make it work in software rather then in hardware
[12:51:47] <BigJohnT> stepgen is software
[12:52:06] <i-pink> ok ...
[12:52:59] <i-pink> now the ubuntu is starting on the other computer
[12:53:03] <BigJohnT> you change this line loadrt stepgen.o step_type=0,0,0
[12:53:14] <BigJohnT> to this loadrt stepgen.o step_type=1,1,1
[12:53:29] <BigJohnT> in your .hal file
[12:54:30] <BigJohnT> stepgen is described in the link I gave you
[12:54:57] <i-pink> is stack
[12:55:10] <i-pink> the ubuntu is not starting up..
[12:56:49] <i-pink> i making a boot
[12:57:15] <i-pink> and now is look ok
[12:58:42] <BigJohnT> great
[12:58:58] <BigJohnT> well I have to leave the computer now good luck
[12:59:15] <i-pink> thenk you
[13:08:27] <i-pink> now i am on the wizard.
[13:09:11] <i-pink> i have the screen "parallel port setup"
[14:02:31] <cradek> I'm starting the CVS->git conversion. The CVS is now read-only.
[14:26:57] <BigJohnT_> BigJohnT_ is now known as BigJohnT
[14:54:24] <steves_logging> steves_logging is now known as steve_stallings
[16:40:27] <motioncontrol> good evening at all.
[16:47:53] <genfool> Morning here, but... hello
[16:48:11] <Jymmm> Jymmm has changed the topic to: Welcome! EMC (Enhanced Machine Controller) is a linux-based opensource CNC control. | Latest release: EMC 2.3.1 | http://www.linuxcnc.org | http://wiki.linuxcnc.org | Channel logged by logger_emc | Mibbit is BLOCKED by Freenode now
[16:48:47] <cradek> what is mibbit?
[16:48:53] <Jymmm> mibbit.com
[16:48:54] <archivist> proxy
[16:48:59] <Jymmm> a web irc client
[16:49:06] <Jymmm> a few ppl here use it
[16:49:39] <Jymmm> Jymmm has changed the topic to: Welcome! EMC (Enhanced Machine Controller) is a linux-based opensource CNC control. | Latest release: EMC 2.3.1 | http://www.linuxcnc.org | http://wiki.linuxcnc.org | Channel logged by logger_emc | Mibbit.com (a web irc client) is BLOCKED by Freenode now
[16:50:03] <cradek> is that something particular to our channel?
[16:50:17] <Jymmm> (09:49:05 AM) Jymmm: a few ppl here use it
[16:51:08] <archivist> why has freenode blocked it
[16:52:02] <Jymmm> http://blog.freenode.net/2009/06/new-freenode-webchat-and-why-to-use-it/
[16:52:07] <Jymmm> archivist: ^^^^
[16:52:35] <Jymmm> I think it's BS, as an abuser is easily blocked, but *shrug*
[16:53:17] <cradek> oh, they did their own, and they want people to use it.
[16:53:48] <Jymmm> cradek: I mainly mention it is someone on the mailing list or other means say they can't connect to the channel anymore.
[16:53:58] <cradek> no, after reading more, it sounds like mibbit support was a pain to deal with, so good on them
[16:54:18] <Jymmm> It really isn't.
[16:54:31] <cradek> Jymmm: ok, thanks
[16:54:55] <Jymmm> Every connection from mibbet gives the person's REAL ip address
[16:55:18] <Jymmm> I can't see how that's any different than someone with DHCP
[16:56:57] <motioncontrol> good evening.one question.exist in linux a shared library for read hardware information(exmple hd serial number or mader board serial number)?
[16:57:39] <SWPadnos> shared library so you can write your own software, or a way of getting all this information?
[16:57:40] <Jymmm> lspci?
[16:57:45] <SWPadnos> lshw
[16:57:53] <Jymmm> lsmo
[16:58:01] <SWPadnos> or, if you're interested in only one class of things, you can use e.g. lshw -C disk
[16:58:45] <SWPadnos> otherwise, look at the source of lshw, since it seems to get all this information from the various subsystems
[17:00:26] <motioncontrol> my intenzion is use a .so library , type dll in windows for read the serial numer the hd
[17:00:54] <Jymmm> SWPadnos: That's a virus (lshw), it wants r00t and only shows Vendictive MalWare (VMware)
[17:01:10] <SWPadnos> I see
[17:01:16] <SWPadnos> have you taken your meds today?
[17:01:33] <Jymmm> SWPadnos: product: VMware Inc
[17:01:53] <SWPadnos> hmmm. maybe I need to take my meds
[17:02:22] <Jymmm> SWPadnos: *V* endictive *M* al *Ware* (VMware)... get it?
[17:02:38] <SWPadnos> yes, I got that
[17:02:44] <SWPadnos> thanks for the recap though :)
[17:02:46] <Jymmm> * Jymmm brews SWPadnos a THIRD pot of coffee
[17:02:57] <SWPadnos> a third of a pot. cheapskate
[17:03:15] <Jymmm> SWPadnos: What do you want, a 55gal drum?
[17:03:51] <Jymmm> SWPadnos: Besides, you'ld like my camp coffee.
[17:04:07] <SWPadnos> hmmm. camp coffee. maybe a third of a pot is enough
[17:04:21] <SWPadnos> if there are convenient weeds or flowers that need liquid
[17:04:44] <Jymmm> SWPadnos: Surprisingly, it's really good. No comparison with brewed
[17:06:01] <Jymmm> And for the record.... If you go camping AVOID AT ALL COSTS those aluminum percolators. Just taste's like shit.
[17:06:22] <SWPadnos> see you, lunchtime
[17:07:08] <Jymmm> Just get yourself one of those old fashion cowboy coffee pots
[17:09:03] <Jymmm> The trick is to place a scoop of grinds in a coffee filter and tie closed with dental floss. Just toss a few of these balls into the pot and toss on the fire. Unless of course you like chunky coffee =)
[17:09:50] <genfool> genfool is now known as genfool_
[17:11:30] <genfool_> genfool_ is now known as genfool
[17:12:29] <genfool> genfool is now known as genfool_
[17:23:47] <eric_unterhausen> I need a icon on my desktop for "killall firefox"
[17:25:20] <archivist> eric_unterhausen, look for errant npv running as well
[17:26:01] <Jymmm> eric_unterhausen: http://a1.vox.com/6a00c225278752549d011017b9dd81860e-500pi
[17:37:40] <eric_unterhausen> archivist, what's an npv
[17:37:54] <archivist> the flash player
[17:38:22] <archivist> npviewer.bin
[17:38:51] <archivist> I just grep for npv and kill -9
[17:39:16] <archivist> whenever firefox gets crusty
[17:39:56] <eric_unterhausen> it doesn't show up on top ...
[17:40:18] <eric_unterhausen> thanks, sounds like it will help
[17:41:13] <archivist> I get dead flash boxes and delays in firefox, and npviewer.bin seems to be the root cause
[17:42:16] <archivist> alex_joni, has the web site gone backwards with the git change
[17:42:36] <archivist> log in missing from the map page
[17:42:58] <jmkasunich> should be no connection between those things
[17:44:41] <archivist> I was expecting the site source in cvs/git also
[17:45:35] <NewType> Hi all, I am back. :)
[17:45:41] <NewType> and confused more than usual!
[17:46:11] <NewType> and nope. I am still fighting my way on the 5-axis machine.
[17:47:50] <NewType> on AXIS, there are a few buttons on top to change the view point. P is the iso view, Z is top view, so I get that.
[17:48:39] <NewType> is X and Y for parallel to the X plane and y plane? If so I am confused!
[17:49:07] <jmkasunich> X is looking along the X axis
[17:49:13] <NewType> the machine is configured as 1m (x), 2m (y), and 0.7m (z).
[17:49:18] <jmkasunich> Y is looking along the Y axis, etc
[17:49:33] <NewType> ohhhhhhhhhhhhhhhhhh
[17:49:43] <NewType> OK. that makes sense now!
[17:50:24] <NewType> I am also getting a "Linear move on line 2 would exceed joint 1's positive lmiit" error.
[17:50:24] <jmkasunich> glad I could help
[17:50:33] <NewType> and it is not making sense....
[17:50:47] <NewType> because the "object" fits perfectly in the box in AXIS.
[17:51:04] <NewType> I home and touch off all the axis.
[17:51:27] <jmkasunich> are any of the numbers red?
[17:51:34] <jmkasunich> sorry, not clear
[17:51:38] <NewType> opps. I mean joint 0, which should be x, right.
[17:51:43] <NewType> nope... nothing read.
[17:52:03] <jmkasunich> in the preview window, the extents of the part program are marked with numbers that show highest and lowest X, Y, Z values
[17:52:17] <jmkasunich> if the part goes outside the machine limits, those numbers will be red
[17:52:38] <NewType> humm... everything is red.
[17:53:00] <NewType> but it fits inside the "box".
[17:53:07] <NewType> that box is my machine, right?
[17:53:41] <jmkasunich> I don't recall if the box is the machine extents, or the part extents
[17:54:09] <archivist> travel extents
[17:54:24] <NewType> but that's still odd. my x axis is 1m long, and I set -500 to 500 unit min max limit...
[17:54:44] <jmkasunich> ok, there is a red box that shows travel limits (in your case that box should be 1 meter long)
[17:54:53] <NewType> and the preview window is giving me -161.0 to 211.0 boxing the object.
[17:54:59] <jmkasunich> there are also "pinkish" dimensions that show part program extents, with numbers
[17:55:13] <NewType> ohhh. then I think they are pinkish.
[17:55:15] <jmkasunich> the machine extents box has no numbers
[17:55:26] <NewType> right. dot line.
[17:55:45] <alex_joni> archivist: as an attempt to limit spammer signing up on linuxcnc.org I put the login thingie on less pages
[17:56:00] <alex_joni> on the default page it's not there anymore, only on subsequent ones
[17:56:12] <alex_joni> not sure how to cause it appear on the map page, I am still looking
[17:56:26] <NewType> so the object I want to machine is in the red doted line box.
[17:56:39] <NewType> and the box is really big.
[17:57:12] <alex_joni> the box is only as big as you defined it
[17:57:18] <NewType> right.
[17:57:19] <alex_joni> it takes the machine travel from the ini file
[17:57:26] <NewType> yep yep.
[17:57:53] <NewType> my G code of the object is 321.9 x 372.0 x 211.
[17:59:53] <NewType> well within the travel of the machine.
[17:59:53] <archivist> the box on mine is a way silly shape /me needs more travel
[17:59:53] <alex_joni> NewType: inches?
[17:59:53] <NewType> mm
[17:59:53] <jmkasunich> but you are still getting the warning?
[17:59:53] <NewType> yeah!!!
[17:59:53] <NewType> and I was testing this code, and it ran once.
[17:59:53] <alex_joni> then you probably have some offsets in place
[17:59:53] <jmkasunich> the pinkish lines that show the size of your object - there are numbers at each end of each line
[17:59:53] <NewType> I am going to restart the program again...
[17:59:53] <NewType> just to make sure.
[17:59:53] <jmkasunich> are all the numbers pink, or are some of them red?
[17:59:53] <NewType> all pink.
[17:59:53] <NewType> x is -161 to 211.
[17:59:53] <jmkasunich> weird - those would be red if it was outside the limits
[17:59:53] <NewType> y is -161 to 161
[17:59:53] <NewType> z is -90 to 121
[17:59:53] <NewType> I know.
[17:59:53] <NewType> I am going to restart...
[17:59:53] <NewType> I hope it is that simple. :)
[18:00:17] <jmkasunich> unfortunately the error message is coming from the interpreter, while the colored boxes and lines are coming from the GUI - they two may not have the same understanding of things like offsets, although they should
[18:00:20] <NewType> what's the max line limit on EMC?
[18:00:23] <alex_joni> restart won't really help
[18:00:36] <jmkasunich> NewType: there isn't a max line limit that I'm aware of
[18:00:37] <alex_joni> NewType: there isn't one agaik
[18:00:41] <alex_joni> afaik
[18:00:47] <NewType> oh.
[18:00:49] <cradek> so what's line 2 say?
[18:00:52] <alex_joni> NewType: try http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems#So_if_you_re_lost_what_should_you_do
[18:01:20] <NewType> line 2: G0 G54 G90 X211. Y0. C0. B90. S10000 M3
[18:01:40] <jmkasunich> B90?
[18:02:42] <jmkasunich> do you have a 4+ axis machine?
[18:02:42] <alex_joni> c0
[18:02:42] <alex_joni> 5+
[18:02:42] <NewType> I am also getting a "Near line 62447 of sphere.ngc: Cannot use two g codes that both use axis values", but I've already deleted that line!
[18:02:42] <NewType> 5 axis.
[18:02:42] <NewType> XYZBC
[18:02:50] <NewType> and the limit error is for joint 0
[18:02:55] <jmkasunich> things get complicated with 5 axis
[18:03:08] <NewType> yeah, I figure. :)
[18:03:34] <jmkasunich> for example, when B is tilted, X may have to move to keep the tool tip in the same place (unless the tool-tip happens to be aligned with the B axis)
[18:03:56] <jmkasunich> that additional X travel requirement might be pushing you over the edge, even tho the tooltip itself remains inside the workspace
[18:04:01] <alex_joni> jmkasunich: assuming special kins
[18:04:03] <cradek> the error is about joint 1 (Y)
[18:04:08] <alex_joni> but I kinda doubt that :)
[18:04:14] <NewType> i am using the 5axiskin from the original example code.
[18:04:25] <NewType> cradek: sorry, it was joint 0.
[18:04:34] <alex_joni> joint 0 is X
[18:04:35] <cradek> arg
[18:04:42] <cradek> so X211 is not in your working volume
[18:05:03] <cradek> maybe your origin is not where you think it is
[18:05:03] <NewType> that's what is said. but I can go -500 to +500
[18:05:10] <NewType> orgin is at 0.
[18:05:28] <NewType> so I can go + and -
[18:05:28] <cradek> pastebin your ini and gcode?
[18:05:28] <alex_joni> NewType: pleas do the stuff from here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems#So_if_you_re_lost_what_should_you_do
[18:05:31] <alex_joni> then try again
[18:05:39] <cradek> yeah, alex is right, do that first
[18:05:44] <jmkasunich> I think the g-code is sphere.ngc, the "ball on a post" that we ran on max5
[18:06:12] <NewType> yes, I am going the sphere.
[18:06:32] <NewType> alex: I am looking at the link now. let me try that first.
[18:06:37] <jmkasunich> I think there is NFW that code will work unless you have the right kins for your machine, including things like pivot length
[18:07:47] <cradek> that code is WAY too complex to be the first test program you run
[18:07:49] <NewType> cradek: I did something very simple already, and all 5 axis worked. :)
[18:08:16] <NewType> it was a simple curve,
[18:08:32] <NewType> and the machien knows the B axis limit, and unwind itself accordingly.
[18:09:07] <NewType> cardek: do you really want me to pastebin the gcode? it is kinda long.
[18:09:16] <cradek> at least lines 1 and 2
[18:09:21] <cradek> and your ini
[18:09:26] <NewType> ok.
[18:09:35] <cradek> and maybe line 3 also!
[18:09:52] <NewType> ok
[18:11:45] <NewType> cradek: the ini is at http://pastebin.com/m19850f6
[18:13:41] <NewType> the sphere code is at m733587d6
[18:15:57] <NewType> jmkasunich: i am pretty sure the 5axiskin I got from the example is good. i did the pivot and also tool length. everything is inline with the z axis so i don't need to do the offset.
[18:16:05] <cradek> with no offsets, I think I agree it should run
[18:16:22] <cradek> wouldn't hurt to put a G21 at the top of this program so you are sure it's interpreted as mm
[18:16:25] <NewType> I am still trying what alex told me.
[18:16:33] <NewType> OK
[18:16:41] <cradek> ok, that will clear all your possible offsets.
[18:17:08] <NewType> alright...
[18:17:24] <cradek> bbl
[18:18:11] <NewType> darn... why is this "line 62447 with two g codes that both use axis values" keeps happening after I delete that line?
[18:18:32] <cradek> are you deleting line 62447 of the file, or the line with N62447 on it? you want the former
[18:18:44] <NewType> line 62447 is M30.
[18:18:52] <cradek> what's the one before that?
[18:18:56] <NewType> that's in AXIS
[18:19:12] <NewType> line 62446 is G0 G28 G91 Z0
[18:19:28] <cradek> that's the problem. Take out the G0
[18:19:50] <NewType> oh....
[18:19:57] <cradek> an alternative form for "move Z all the way up" is G0 G53 Z0
[18:20:15] <cradek> but G28 G91 Z0 is fine too
[18:20:35] <NewType> huumm.
[18:20:57] <NewType> alright...
[18:21:31] <NewType> cradek! G21 solved the problem!
[18:21:31] <NewType> HAHAHAHHAHAHAH!
[18:21:31] <NewType> just one line.
[18:22:05] <cradek> yup, 211 inches is a lot longer than 500 mm
[18:22:18] <cradek> but, I don't know why it was assuming inches unless you had a G20 some time in the past
[18:22:48] <cradek> (but IMO, gcode programs that don't specify the units are bogus)
[18:22:50] <NewType> well, I also restarted the computer and everyting... so something was right!
[18:23:11] <cradek> maybe not bogus, but ASKING for trouble
[18:23:35] <archivist> having gcode the is determinate is better than restating the computer
[18:23:36] <NewType> werid...
[18:23:55] <cradek> very true
[18:24:19] <NewType> well, at least one problem solved.
[18:24:26] <NewType> I am goign to check the 5axiskin now.
[18:24:34] <NewType> I hope I can shoot a video by this afternoon! :)
[18:24:35] <archivist> very first thing I did on my first progs was set modes
[18:24:57] <NewType> this is actually "moving" now.
[18:25:10] <NewType> bbl. let me get the stock foam up so it will start milling.
[18:25:11] <cradek> cool.
[18:29:27] <anonimasu> :)
[18:41:29] <anonimasu> http://www.io23.net/ul/files/screenshot1.JPG
[18:44:06] <awallin> anonimasu: hello! what's that screenshot?
[18:45:22] <anonimasu> edgecam
[18:45:53] <anonimasu> testing it instead of mastercam..
[18:47:15] <steve_stallings> steve_stallings is now known as steves_logging
[18:47:38] <awallin> ok
[18:50:13] <jepler> why's there a cigarette in your pocket?
[18:50:31] <anonimasu> endmill :)
[18:51:13] <i--pink> hi,
[18:51:41] <i--pink> i need help with the wizard
[18:52:36] <i--pink> in the first stemo i want to connect leds to the output in the LPT connector
[18:53:22] <i--pink> but i dont know how to configure it.
[18:53:33] <i--pink> someone can help me?
[18:57:27] <awallin> put a small resistor (250ohms ?) in series with the LED. connect this between your output pin and ground.
[18:58:04] <i--pink> awallin, ok i do it..
[18:58:32] <i--pink> but nothing happen
[19:02:55] <i--pink> awallin, ^^
[19:03:06] <awallin> do you have a multimeter with which you could check the voltages at the LPT
[19:04:11] <alex_joni> on some ports it's better to have a resistor connected to Vcc, and using the parport to pull the led to gnd
[19:04:23] <alex_joni> i--pink: did you check if you LED isn't reversed?
[19:07:04] <i--pink> alex_joni, yes
[19:13:57] <BigJohnT> i--pink: http://www.epanorama.net/circuits/parallel_output.html
[19:19:17] <i--pink> ok i make it..
[19:20:28] <i--pink> maybe is blinking very fast?
[19:21:41] <i--pink> ok.. is work.. i connect a earphone..
[19:24:54] <i--pink> now how i am change the controlling, from one wire for direction and other for stepping, to 2 wire step up and step down.
[19:25:27] <alex_joni> i--pink: you need to change the stepgen type
[19:25:39] <alex_joni> you should have a hal file where the stepgen's get loaded
[19:25:56] <alex_joni> check the integrator manual for documentation about stepgen, and possible step types
[19:26:12] <i--pink> stepgun?
[19:26:28] <BigJohnT> I gave him a link earlier alex_joni
[19:27:05] <i--pink> look, is my first time i make something in elctronic
[19:27:29] <i--pink> you cold the me step by step..
[20:11:17] <anonimasu> this is cool, the toolpath came out great..
[20:11:34] <anonimasu> just a minor post modification to make it realize there's no mist coolant..
[20:11:34] <anonimasu> :)
[20:11:39] <anonimasu> and to make it m00 on toolchanges
[20:28:18] <maddash> what's the opposite of 'realtime'? 'slowtime'?
[20:29:54] <skunkworks> non realtime
[20:29:55] <skunkworks> ;)
[20:29:59] <skunkworks> userspace?
[20:32:19] <maddash> mh I'm trying to name my function that handles non-realtime events
[20:32:28] <maddash> void slowtime_event_handler()
[20:35:39] <alex_joni> maddash: http://www.imdb.com/title/tt0401759/
[20:38:18] <jmkasunich> I have come to the conclusion that foam peanuts are the "greenest" packing material
[20:38:33] <jmkasunich> and crumpled brown paper (as used by enco, mcmaster, and others) is the worst
[20:38:42] <jmkasunich> you can store and reuse peanuts easily
[20:39:22] <maddash> and how, good sir, have you arrived to this groundbreaking insight?
[20:39:32] <maddash> alex_joni: rofl.
[20:39:55] <jmkasunich> because I have nearly an entire room full of boxes and packing material that I'm trying to shrink down. store, and/or recycle
[20:41:37] <anonimasu> well, you can always burn paper for heat..
[20:41:38] <anonimasu> :]
[20:41:48] <jmkasunich> it's summertime
[20:42:03] <jmkasunich> plus, air polution
[20:42:15] <anonimasu> well, drive it to a recycling station..
[20:42:17] <anonimasu> so they can burn it instead..
[20:42:24] <jmkasunich> heh
[20:42:37] <jmkasunich> recycling is the plan, but that stuff is bulky
[20:42:57] <jmkasunich> boxes flatten and stack well, but the paper is a pain in the butt
[20:46:49] <anonimasu> * anonimasu nods
[20:59:20] <eric_unterhausen> I bought a lathe quick change tool holder from enco, they put paper on top, not underneath
[20:59:33] <eric_unterhausen> Enco packs the worst, McMaster is not much better
[21:02:08] <eric_unterhausen> Too bad I didn't have $1500 to spend on the toolholder, the $120 one was a little disappointing
[21:07:18] <anonimasu> haha
[21:07:42] <anonimasu> the $1500 ones arent so _nice_ that they are worth the cadsh
[21:07:44] <anonimasu> err cash..
[21:07:49] <anonimasu> just bigger..
[21:07:52] <eric_unterhausen> for one thing, I have to go back to the old toolpost to make this one work
[21:07:58] <eric_unterhausen> no, they are interchangable
[21:08:37] <eric_unterhausen> it's a BXA, dorian, aloris and Phase II are the same, as well as numerous chinese copies
[21:09:25] <anonimasu> we have a chinese copy at work on the lathe..
[21:09:30] <anonimasu> it repeats perfectly
[21:09:59] <eric_unterhausen> maybe I should have gone with the ebay chinese copy and saved a few bucks, might have fit without rework
[21:15:12] <anonimasu> brb
[22:14:50] <maddash> are switch/case state machines evil/
[22:15:22] <NewType> evil machine?
[22:16:38] <maddash> by 'evil,' I mean poor design
[22:19:38] <i--pink> how i get aluminum in color?
[22:19:54] <toastydeath> it's not a solid color, you have to color it after it's been shaped
[22:19:59] <toastydeath> and that's called anodizing
[22:20:20] <i--pink> how i do it?
[22:20:30] <toastydeath> google it, battery acid and electricty
[22:20:37] <toastydeath> also some dye
[22:20:50] <i--pink> dye = ?
[22:20:57] <toastydeath> dye, the color you want
[22:21:16] <i--pink> hoo
[22:21:19] <toastydeath> the short version, you submerge the aluminum part in the acid
[22:21:19] <i--pink> ok.
[22:21:22] <toastydeath> run current through it
[22:21:24] <i--pink> i want pink
[22:21:33] <toastydeath> pull it out, wash it off in cool water, then dunk it in dye
[22:21:40] <toastydeath> leave it, then come back later and wash it with scalding water
[22:22:00] <toastydeath> you will have to find a pink anodizing dye.
[22:22:08] <toastydeath> google the process, there are directions online
[22:22:20] <i--pink> is exspenseve?
[22:22:55] <toastydeath> not terribly
[22:23:30] <i--pink> terribly = ?
[22:24:29] <toastydeath> depends on how much crap you have to buy, you're going to need a tub, a battery charger/power supply, the acid
[22:24:32] <toastydeath> the dye
[22:24:33] <toastydeath> so probably 50-100 bucks
[22:24:54] <i--pink> OMG
[22:25:06] <toastydeath> also you can't just wash the acid down the drain
[22:25:25] <toastydeath> you'll have to neutralize it first, or give it to someone who can dispose of it
[22:25:52] <i--pink> what kaind of acid?
[22:27:13] <toastydeath> sulphuric acid
[22:28:07] <toastydeath> *sulfuric
[22:28:08] <toastydeath> sorry
[22:28:56] <toastydeath> depending on where you live, it may be illegal to anodize things yourself
[22:29:00] <toastydeath> i'm not sure how to check that though
[22:29:30] <i--pink> ok.
[22:30:02] <i--pink> if i need to make anodize only for one part
[22:31:01] <toastydeath> ?
[22:31:47] <i--pink> i mean to give the part to someone to make anodize
[22:32:38] <toastydeath> you'll have to look up local metal finishing places
[22:32:42] <toastydeath> in your phonebook or on google
[22:32:54] <i--pink> ok.
[22:32:57] <toastydeath> look for businesses that offer plating, finishing, anodizing
[22:33:07] <i--pink> is expensev?
[22:33:24] <toastydeath> i don't believe it's terribly expensive.
[22:33:55] <toastydeath> i can't give you a useful price because the anodizing house we use gives us a discount for bulk
[22:34:20] <toastydeath> i think the price for us ranges from 5 bucks to 30-40, depdending on size and requirements
[22:34:24] <toastydeath> USD
[22:35:09] <maddash> right, b/c 5 bucks, australian would've made sense too
[22:36:06] <i--pink> the part is back from a laptop screen
[22:36:26] <toastydeath> maddash: i honestly have no idea what the aus/usd exchange rate is
[22:36:38] <toastydeath> and people have asked before so i figure might as well clarify =/
[22:41:22] <maddash> :)
[22:43:50] <toastydeath> IG'NANT AMURICAN
[22:43:53] <toastydeath> <-
[22:47:39] <geo01005> jonypry, are you around ?
[22:47:48] <geo01005> sorry wrong place...
[22:54:53] <Jymmm> alex_joni:
[22:57:47] <maddash> ^--- I regret to inform you that you only have 5 months to live
[22:59:06] <toastydeath> haha