jmkasunich: 2 questions... 1.) when you made the puma simulation with vismach - did you make it to some scale? and b.) do you think it would be possible to add some hal pins to the simulation to pass a2, a3,d3 and d4 distances and have it automagically scale the arm? I have looked at the pumagui.py and the numbers don't make sense yet - I was planning on playing with the numbers to get a feel for what changes. (it
skunkworks: I'd have to go back and look at the code
I didn't have a real machine to model it from, so I just pulled numbers from somewhere
regarding scaling it from hal pins - possible, yes, simple, no
lerman__ is now known as lerman
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2008-06-26.txt
jmkasunich: thanks :)
Guest451 is now known as skunkworks_
what's up over there?
not much here
though I guess there should be
well.. for one it's really hot
thats pretty hot
hasn't gotten above 33C here yet
or somewhere around there -- low 90s
38C should be 100F
well.. I'm off .. it's special "greek" night
that's supposed to be "geek night"
crappy "touristic" events
well, have lots of stuffed grape leaves, spinakopita, and baklava
the whole village (if you can call it that) is highly british-ified
lots of UK people around
oh, then avoid the fish and chips and always steer clear of haggis
so breakfast is: 2 eggs + bacon + mushrooms + beans
yeah, no fish & chips for me ;)
don't forget the tomatoes and one-side-browned toast
on request you get black pudding
whatever that is :/
that's not as bad a s haggis
how about porrige? (if the spelling is right..)
porridge - that can be OK
I think it's more or less oatmeal most of the time
but there are differnet kinds
yeah, I figured..
anyways.. I'm off to some "traditional" greek dances :/
sounds like the Luau you pay $80/person for in Hawai'i
this is included in the general ticket.. so it's ok :)
ah, much better. at least there's food :)
it was quite cheap for the whole week..
oh - do you know about your Germany travels in July yet?
around 400$ including flight+transfer+taxes, and 7 nights + 2 meals/day
hmm.. not very sure, I'll know more next week
I know it's delayed
it should have been in week 28.. but it might be 3-4 weeks late
ok. we leave in about 2 weeks
cologne you said?
we'll be in Berlin for a couple of days, but otherwise it's Amsterdam, Paris, and the Rhine region (only one day in Cologne)
ah, ok.. sounds fun..
gotta run now, maybe I'll ge back online later
see you all
I may come back in September
err - go back
gents. i have just done a new install of 8.04 and then installed emc2 from cvs trunk. copied all my files (i think) for a vismach configuratio.
at least all teh files from a running system on another computer. running emc2 trunk it fails when it tries to load the vimach gui py file.
the file exist in the bin directory just as it did in the other install. what's up? any clue?
was the other system using trunk as well?
ok. well then I'm out of ideas ;)
though you could post the error message(s) to pastebin
ok, when i do the cvs as listed straight in the wiki, do i need to specify 'trunk' or is it implied?
you should get the latest development branch
you have to specify something like -r V2_2_branch to get the latest of 2.2.x, for example
this command: cvs -z5 -d:ext:firstname.lastname@example.org:/cvs co -demc2-trunk emc2
gets trunk and puts it in adirctory called emc2-trunk?
remember that you'll need to source the emc-environment script if you run in place
(the leading "." is significant)
ok, how is that done? i double clicked on that file in scripts.
you need to do it from the terminal in which you will run emc2
or is that a full command?
"." is a bash shell command
every time? or just once
every time, if you use run in place
let me try.
uh - actually, once per terminal session
if you try it a second time, it will give you a mesasge saying something like "don't do that, bonehead" :)
that's ok, no offense taken. let me get this right.
how much of that path do i need to include? /home/noel/emc2-trunk/scripts/emc-environment ???
enough so the shell can find the file, but at minimum one / (so . ./emc-environment if you're in the directory)
just did that all. seemed to have taken the environment statement (no errors or nags). but still get the same error from emc
ok, now it's time to post the error :)
ok, i will start a new chatzilla there so i can pastebin.
just to be sure, you did the ". .../emc-environment", then ran emc in the same shell?
ok on again.
how much would you like to see? shall i clear dmesg and do it again?
[17:55:59] <Roguish___> http://pastebin.com/d2ab84f6b
I think more information is needed
it looks like the 3axis_verticle_gui wasn't found
I'm not sure how you get vismach stuff "installed", maybe someone else will notice this discussion and chime in later
for a python script not shipped with emc: you put the right first line ("#!/usr/bin/python") at the top, make it executable (chmod +x filename) and put it in a directory on your $PATH (could be the emc2-trunk/bin directory if you want)
see src/emc/usr_intf/axis/Submakefile for how the other vismach guis get installed
[18:22:46] <Roguish___> http://pastebin.com/d21572ef3
made it executable and it's in emc2-trunk/bin
does it need an explicit .py extension?
it needs to have the exact same name you use in the 'loadusr' line.
you can use the shell to find out whether you have done the right steps to make the program available. In this shell session, I see that 5axisgui isn't available until I set my shell up with the emc environment: http://pastebin.com/m4000102e
jepler: did the environment command and the 'type' cmd shows the correct file and location. but still no go.
show us your 'loadusr' line
3axis_verticle.hal:115: execv(../../bin/3axis_verticle_gui) failed
this line in your earlier pastebin implies that you are naming a relative location for the prograk
so that single directory will be searched for it, not the directories on your PATH.
loadusr -W -n 3axis_verticle_gui ../../bin/3axis_verticle_gui
was just going to ask about the -W and the -n parameters
my previous system has the -W.
-W means to wait until the component says it is "ready"
-n <name> means that it uses that component name
i noticed the -n in the 5axisgui
OK. Unix lesson. If you type a command like "ls", your $PATH is searched. If you type a command like "./ls", the current directory is searched (and not the path). If you type "../../bin/ls", only ../../bin is searched.
you are telling halcmd a specific directory to find 3axis_verticle_gui in, but it's not there
I was telling you how to put it on your PATH, having not read all the clues to correctly guess what you'd actually written in your hal file
sounds like you should remove ../../bin/ and use 'loadusr ... 3axis_verticle_gui'
ok, i'm thick. so ? what are the '...
... being maybe "-W" and maybe "-W -n somestring" if the name of the component created by 3axis_verticle_gui if it is not "3axis_verticle_gui"
or am i getting thicker?
... being maybe "-W" and maybe "-W -n somestring" if the name of the component created by 3axis_verticle_gui is not "3axis_verticle_gui"
cradek: jepler:I have a NIB McMaster Carr catalog sitting here. I use the online catalog when I buy stuff from them. Do you know anyone who could use a copy?
no, but thanks
Drat. I should have brought it to Fest. I hate to throw it out. I could probably get a few bucks for it on Ebay, but that's not my thing.
jepler: ok, now i get it. here's the line: loadusr -W -n 3axis_verticle_gui.py and i added the .py extension to the actual file name. still no go. same error.
Roguish___: I can see things are still as clear as mud
$ cd emc2-src/configs/5axis/
$ grep 5axisgui *.hal
loadusr -W 5axisgui
Let's consider this: ^^^
$ type 5axisgui
5axisgui is /usr/local/jepler/src/emc2/bin/5axisgui
we see that there is a program "5axisgui" that can be run from the terminal.
in the sample configuration that uses it, the load line is simple: loadusr -W 5axisgui
halcmd starts the program "5axisgui" then waits for a component with the name "5axisgui" to be ready.
only if the name of the component is not identical to the name of the program do you need a -n, and in that case the argument after it becomes the name of the component, and the next argument after that becomes the start of the command
halcmd: loadusr -Wn xxxx yyyy
Waiting for component 'xxxx' to become ready...<stdin>:0: execv(yyyy) failed
<stdin>:0: yyyy exited without becoming ready
^^^ that is what the above demonstrates
halcmd doesn't handle the case of "loadusr -Wn xxxx" very well; it could say "you didn't give a command to run", but instead it just shows that execv() was given no arguments:
halcmd: loadusr -Wn xxxx
<stdin>:1: execv() failed
<stdin>:1: exited without becoming ready
ok. so <stdin> is not happy?
<stdin> just means I'm typing the commands to halcmd, not running them from a file
yeah, i recall that from long ago.....
so, is there a 'cleaner' or more direct way to run the ...gui.py?
Yes. You put it on your $PATH, without a .py extension, and use: loadusr -W yourgui
will try right now.
assuming the emc2-trunk/bin directory is in the path.
EMC: 03jepler 07TRUNK * 10emc2/configs/vismach/ (max5kins.hal max5triv.hal): this is simpler and works fine
now what ya doing in that one?
ta da meant it worked.
in looking around for examples that answer your question, I saw that the 'loadusr' lines in those hal files were also complicated unnecessarily
i take it back. the vismach fires up but then something else crashes it.
jepler: ok, it runs. had to get the correct start up ngc file in the correct place.
thanks. like you said, it's clear as mud. i go through the samples pretty carefully. might i suggest a few comments added to the files for these 'special' cases like vismach.
vismach is really pretty cool by the way.
i like it.
* skunkworks_ does also
here' my verticle mill (lathe) http://imagebin.org/21630
everything works. the red boom goes up and down, and in and out, and the table goes round in circles. neat.
what made it crash?
did not have the correct startup gcode file.
got it now.
i was just compiling emc2-trunk on another new install and got a tk lib not found (or tc).
Roguish___: this should explain how to get all the packages you need (sledgehammer approach, it also gets you some docbuilding packages you may not actually need): http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Preparing_Ubuntu_to_compile_emc2
doh! missed that line again. really thought i had done it. thanks. getting thicker than a brick.
fenn_ is now known as fenn
Ok, I did a developer checkout and fixed a small formatting error in the user manual. I did a "cvs -z5 diff -u" and it showed the line that I changed
do I just do a "cvs commit" to send the change?
yes. then it'll ask you to write a message explaining why you made the change
ok, thanks jepler
then a few moments later it should show a message here and on the emc-cvs mailing list
EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/Master_User.lyx: Fixed formatting error in User Manual chapter includes
looks like that worked ok :)
The following quoted para-
graphs are extracted from his paper which is available in several text formats in the dropbox at
[23:28:11] <BigJohnT> http://www.linuxcnc.org.
what is a dropbox?
there used to be a directory on the webserver that had the word "dropbox" in it
ok, so that line is no longer valid?
I think the dropbox dir dates from when steve stallings hosted the liinuxcnc site - several years ago
time to fire up the grill
jmkasunich: thanks for the info. I hope to start playing with the pumagui soon
holy crap - 186MB of hardy updates :)