he want to drive my van soon... go figure...LOL
lerman_ is now known as lerman
dmessier: can't you just "RETURN TO SENDER" ?
WASHINGTON - The White House blamed the 78-year-old man whom Vice President Dick Cheney shot during a weekend quail hunting trip in Texas for the incident
whenever you need a good laugh, you can turn to the white house press secretary
laugh, puke, same diff.
anyone know what temp wood JUST begins to char?
03cradek * 10emc2/ (4 files in 3 dirs):
eliminate setuid requirement for halcmd: it now uses emc_module_helper
for module load/unload, like the rest of emc2.
he keeps comin' back.... like the cat came back..... cause he couldn't stay away... that souuld be a song...
a BODY ???
about 290 deg f +/-10 deg
opps ttoooo much info for tonite....
ok, maybe I can use a lil toaster oven then
03jepler 07simple_tp * 10emc2/src/emc/kinematics/ (.cvsignore Submakefile): make it build again
Jymmm: isnt that where the movie Farenheit 451 came from.... burning books
wow you guys are just pounding stuff ou
Hopefully jacky is watching the olympics in person
LawrenceG: No lcue, watched 2 minutes and returned the dvd
I have not had a chance yet to go back to AXIS 126.96.36.199.188.8.131.52 to see if it works on my system
03cradek * 10emc2/ (VERSION scripts/emc.in src/configure src/configure.in):
get a version number from cvs into the environment so the guis can put it
in help/about. technical decisions done; policy decisions remaining.
03jepler * 10emc2/scripts/emc.in: export EMC2VERSION so that the GUI can display it
03jmkasunich * 10emc2/scripts/emc.in: added version display to main emc script
03jmkasunich * 10emc2/tcl/tkemc.tcl: added EMC2VERSION to the TkEMC Help->About popup
oops, I think that axis 1.1.1 won't build against emc2 cvs HEAD since my Makefile changes (rs274.o not present in the expected location)
oops. I on the otherhand never have issues like that.
axis 1.1.2 released. small bugfix for users of emc2. http://axis.unpy.net/index.cgi/downloads/01139924540
what kind of bug fix?
Only users of EMC2 need to upgrade to this version. It changes the way the "rs274" (g-code interpreter) library is linked, to match changes made recently in the EMC2 CVS. There are no other changes or bugfixes.
would this fix my problem you think?
where axis pauses loading or reloading a file after there has been axis movement
skunkworks: no, it wouldn't
ok - thanks
skunkworks: it just changes the way one of the files is linked
I will proabaly try axis 1.1.2 one more time then go back to 1.1.1 to make sure it works
Hi Everyone - I finished my JRGO-inspired router over the weekend and just started connecting my limit switches.
Many many thanks to http://www.timeguy.com/cradek/emc/ubuntu
- saved me a bunch of time. I tried building RTAI and my kernel and emc2 from HEAD several times with limited success. The timeguy stuff worked well, as long as I saved away my grub/menu.lst first.
WillieWalker: That's good to hear. The Ubuntu stuff is experimental, but it's working well for a number of people
My last remaining problem is connecting the limit switches to my Xylotex board. I have them all set up in series, with all of them set up as normally closed. I then connected the two resulting wires to GND and Pin 15 on my board. Then...I added the following to my xylotex_pinout.hal:
# Set up limit switches
#newsig Elim bit
#linkps parport.0.pin-15-in Elim
#linkps axis.0.neg-lim-sw-in Elim
#linkps axis.0.pos-lim-sw-in Elim
#linkps axis.1.neg-lim-sw-in Elim
#linkps axis.1.pos-lim-sw-in Elim#linkps axis.2.neg-lim-sw-in Elim
linkps axis.2.pos-lim-sw-in Elim
Oops - pressed return too soon. All the appropriate lines are uncommented.
The EMC display comes up looking very nice (Yellow fonts when the switches are closed, Red when they are open).
But...I keep getting "Joint 0" and max/min hardware errors. Any ideas? Should I be connecting Pin 15 to VBB instead of GND?
what are the exact errors?
I still don't know much hal. What's "linkps"?
link pin to signal?
Darn - I knew you were going to ask that. My machine is booted back into non-realtime mode right now and I'm disconnected from the board doing my real job. The errors are along the lines of "max hardware limit exceeded for axis 0".
I should read the documentation someday
I'm pretty linkps means link pin to signal. linksp is link signal to pin, I believe.
WillieWalker: you're welcome, I'm glad the ubuntu packages are working well for you
WillieWalker: do you get motion when you try to home?
cradek: Are you the one who made them? If so, thanks!
WillieWalker: without any limit switches configured, are you able to jog the machine?
Without limit switches configured, I can jog the machine just fine and actually run g-code. Made my first sign. :-)
WillieWalker: do you think you are getting the right polarity on the switches? Maybe they need to be inverted?
hmm, I don't think Hal_Introduction.pdf even mentions limit switches
I think the polarity is fine - EMC shows the right colors when they are pressed/released. I don't know much about electronics (hence my purchase of the Xylotek board), but I'm wondering if it's possible that I might be getting some sort of voltage drift or something?
Keep in mind that I have no idea if/what voltage drift is. :-)
if the colors are right, it seems like that's a good indication that it's working
do the numbers turn red when you get the error?
Yeah - the hardware part seems OK. The numbers don't turn red - they just stay yellow. But, it's quite possible that the screen refresh isn't fast enough to keep up with a minor flicker in the circuit.
you're here at a time when the best guys to help with switches/hal aren't around - you might want to send an email to the emc-users list and I bet you'll get a quick answer from jmk or ray.
OK - I'll give that a shot. Thanks!
you could use halscope to record (and trigger on) the limit input, and you'll see a glitch there
if there's a glitch
Great idea. I'll give that a shot. Thanks!
not to state the obvious, but I bet checking the wiring once more might be a good idea too....
let us know how it comes out
Hey - home CNC is a lot of fun. Tons of learning. Tons of time. Now - I just want to get past the making of the machine part and on to making chips. :-) Thanks everyone!
he was sure cheery
I hope he finds the trouble
If I read the guide right, you can only link one pin to a signal, not many pins as his pasted text showed
does axis have the behavior he was talking about, where axes show red if they're at a limit?
hm, maybe it should be added
I'd want another icon like the home icon
Or maybe just the letter "L"?
L if at limit, otherwise home icon if homed, otherwise blank?
while I think tkemc only shows three states, there may be four
not sure without looking
what other state is there?
at limit, not homed
I imagined showing L if at limit, whether homed or not
I understood that - but I'm saying you can't distinguish between limit/homed limit/not homed then
(I think this is the case in tkemc)
Is that important?
I don't know
I don't have switches so I'm guessing at all of this
jepler: you can only link one write pin to a signal, but you can link as many read pins as you want
oh, so there's one limit pin (parport.0.pin-15-in) -> "Elim" signal -> each axis...-lim-sw-in
I get it now
I'm sure I'll learn to read hal sooner or latr
I've noticed there always seems to already be a module that does what you want (debounce?)
pretty cool. it will be nice if we can make the config a little friendlier.
"As you can see in the following pictures, this unit is like having a "manual" CNC router."
[21:04:27] <jepler> http://www.eurekazone.com/products/detail/srs.html
I once read an article about a procedure a guy called "HNC"
he was cutting spheres/sine waves on his manual lathe
by generating a table of coordinates and cutting to them manually
that's one way to do it
clearly it would work
but the step rate I can generate is pretty low, not to mention the lost steps
This nickname is owned by someone else
If this is your nickname, type /msg NickServ IDENTIFY <password>
03jepler * 10emc2/tcl/bin/pickconfig.tcl:
Use bwidget's ScrolledWindow. This gives nice features like scrollbars that
disappear when unneeded. Unfortunately, I have to touch bwidget internals
to give the right appearance (focus outline, etc).
Reorder OK and Cancel buttons so that tab traverses in the expected order.
an untapped, uh, resource?
if I'm building packages, there's little point in it being someone other than me
if we didn't have to worry about CVS checkouts (if everybody either downloaded a release tarball or a deb) we could almost do something like "./configure --with-version-tag emc2-testing-2006-02014"
and let configure stick it into emc.in using @version-tag@
if the tag is not specified, it would insert the compile date instead
we have "make deb" now right?
do we have/do we want "make release-source-tarball" (or something like that?)
if it's just a matter of debs, we're back to dpkg -l being sufficient
when would that be invoked to get the info into Help/About?
so I think the solution for release version numbers has to be in cvs
oh, it wouldn't, I forgot about that goal
I'm not crazy about hardcoding it in emc.in
let's just edit emc.in
the commit logs for emc.in would get messy after a while
true, most things in the log would be useless
if there was a file that held only the version
emc.in could source it (treat it like a script)
or configure could read it, and do substitution into emc.in -> emc
was just thinking that
that solves the messy cvs log problem.
but keeps most of the simplicity
yeah, now the log for that file is still "messy", but in a good way, it becomes a history of releases
history is fine, wading through irrelevant history for the change you want is what's bad
having emc source it is easy, but emc needs to be able to find it
no, configure will insert it
we do not want another file that's hard to find
having ./configure read it and stuff into emc means it only needs read a compile time
and it never gets installed anywhere
configure is just bash right?
as opposed to configure.in
configure is a generated file from configure.in/autoconf
so if "version" was a one liner: EMC2VERSION=<somestring>
configure could source it
I think it's this simple
so the file contains nothing except the actual version string
and configure could also stick that string into config.h, so C progs could have it
yes, it could
(like halscope - it is C, uses GTK, but may someday have a Help->About
I'll go do this
slow down just a tiny bit
are we gonna set version to "after-release-foo" between releases?
leave it blank and let configure substitute something else, like the compile date?
that's a policy decision, I'm working on technical now :-)
just thinking about what to do if "cat version" returns nothing
there should probably be an if and a reasonable default in configure
EMC2VERSION=$(cat version) ; if [ -z $EMCVERSION ] then EMCVERSION=??? fi ; ACSUBST ([EMC2VERSION])
* jmkasunich thinks of ways to bust things
monday: cvs co ; configure ; make
3 months later
cvs up ; make
or does that come under the heading "if it hurts don't do it"
a 3 month rebuild without configure will probably bomb anyway
ok, 3 week
just being devil's advocate, I actually kinda like this scheme
the work I do in my day job makes me paranoid
if we miss some way for the customer to screw up, and they find it, we don't get a bug report, we get a smoking ruin
needless to say, our primary protection schemes do NOT rely on software/firmware ;-)
yuck, I can't get substitution in config.h
I don't know what I'm doing
lemme take a look
let me commit this
it doesn't subst like the other files
I don't understand what makes config.h
maybe we should wait for alex to do the c part - the sh part is easy/done
some of the GNU auto-foo is just too clever for its own good
doesn't look like it even does substitution...
I'm off to go find some dinner... be back soon.
I'll be off to bed soon
you still there?
did you see PACKAGE_VERSION and friends in config.h.in?
I wonder if we're reinventing a wheel
could be ... I bet there's a way to get a var substitued in there
"someone" will have to wade through the autoconf info pages I guess
the important part is done - give the info to the guis
alex will probably fix the rest easily
cradek: Is it OK to 'export' EMC2VERSION from scripts/emc?
I don't see why not
"AXIS version 1.2a2 / emc2 Prerelease CVS HEAD"
-- AXIS's Help > About
EMC2 - Prerelease CVS HEAD
Machine configuration directory is '/home/john/emcdev/emc2head/configs/stepper/'Machine configuration file is 'stepper_inch.ini'
-- EMC's version display (non GUI)
btw change that string if you want, I don't know what it should say right now
that is fine for now
gonna go spelunking thru tkemc, see if I can make that one work
how does one get an env var in tcl.... equivalent of C getenv()?
I knew it had to be easier than [ lindex [ lsearch env ]] cruft
didn;t realize that env was an array
nor did I know tcl's array syntax
damn language has its () and  backwards anyway
drat, if I edit Ray's About message I'll break the translations
add another string afterward?
thats what I'm gonna do
[concat [msgcat::mc "old string"] $env(VERSION)]
or whatever the syntax is
is this lame: [ format "%s\n(EMC2 %s)" [msgcat(old)] $env(VERSION) ]
depends how important not breaking translation is
I suspect we don't have active translators to fix it
so I think that overrules any small bit of lameness
eww, its worse than I thought
never mind, I was confuseder than I thought
strange, EMC2VERSION isn't in the env when tkemc is running
do you have jepler's change (the export)?
I bet you don't
maybe you didn't run configure
redoing it now
oh wait, I wonder if we have to wank around at the top of the file to export it again when starting wish
yeah I bet
gonna find out, I'll echo it at the top, and puts the env right after the wish restart
piece of crap
well that's annoying
$env isn't global
I added "global env" to the proc that needed it, and now it works
(I needed the export too)
export made a puts $env(EMC2VERSION) at toplevel work, but the same line inside a proc failed
set TCLBIN $env(EMC2_TCL_DIR)
set TCLSCRIPTS $env(EMC2_TCL_DIR)
set TCLDIR $env(EMC2_TCL_DIR)
inside a proc?
here's some great kruft
no in an 'if' at the toplevel
I'm just laughing about all the different ways to refer to that env
I didn't even realise at first that they were all the same
the entire tcl tree seems fscked that way
why is tkemc in tcl, but setupconfig in tcl/bin?
and other things in tcl/scripts
because kruftons orbit it
(real answer is it's hard to move stuff in cvs)
oops, laughed loud enough to wake up the cat that is sleeping on my bench
<cat> looks around groggily, gives me a "you disturbed my slumber, lowly human" look, and goes back to sleep </cat>
I think I'm off to bed
yeah, the cat has the right idea
this works, strip out the test/debug puts and commit, and I'm off
guess not ;)
* alex_joni will be around a bit later
Post of the day for me ---
My name is Vasantha and I am from Sri lanka. I have got a Slant bed lathe with a 6 way tool Turret, running on EMC, with two Copley Servo Drives and two Sanyo Denki DC servo Motors of 1Hp each.
Questions on how to implement the tool changer turret.
catch you all later.
guess no one wants to talk to me :(
cradek: so you're just hiding :D
I said hi on the other channel
fine, just getting ready to go home
I've seen you started versioning
yeah we wanted to get version numbers into help/about on the guis
I have a better way to get it out of configure into config.h
so we can compile it in
ok, I couldn't figure out the C part
I figured you would know how to do it, so I didn't worry
I can do that when I come back, ok?
no hurry, the gui is the important place anyway
but there is still the problem people need to reconfigure to get the new version
even if it's only configure --version
I think that doesn't matter
ok, then it's fine
[22:10:01] <cradek> http://www.boomka.org/
sorry, way off topic, but interesting
I like " It can show the Islamic world that humor and self deprecation is a healthy psychological exercise. The one who can face his demons can overcome his weaknesses""