jepler: for consideration -- a patch that switches tabs if task_mode changed by actor other than axis gui
[00:31:06] <dgarr> http://filebin.ca/wwvzg
does halui's "send mdi" switch back to the prior mode when it completes? axis will eswitch over to mdi while the command (like quill up) is executing, and then back when it's done?
or does halui leave it in mdi and rely on axis automatically setting manual mode at the next jog
neither one seems great..
i don't know answers for your questions. my usage is: sometimes when i pickup
pendant, I want to switch from mdi to manual from the pendant without going back to keyboard
you can do mdi things from your pendant?
i was thinking any gui should show current emc.MODE_*
the answer is, yes, when you use a halui mdi command, axis switches to the mdi tab if it was on manual, then returns to manual when the mdi completes
(with your patch)
how are you switching to manual mode from your pendant?
you could modify axis-remote to switch axis to the manual tab and set manual mode all in one: http://emergent.unpy.net/files/sandbox/0001-provide-a-way-to-switch-axis-to-manual-mode.patch
from a button: net b_manual input.0.btn-pinkie => halui.mode.manual
but then you'd have to write a hal compoent that runs a shell command on a rising input, or something like that
or maybe something else: a switch-to-manual hal pin on axis
heh, I had the mill draw its front panel with a sharpie on a piece of cardboard
for some reason we really got a kick out of watching it do that
also, the layout is wrong by 3/16 - saved me ~ $30 of aluminum
how do you calculate chip load for a sharpie?
jepler: i'm not sure i understand all the issues, an attempt at adding pin: http://filebin.ca/tzqfa
good question - I didn't have any idea how fast it would draw and still make a nice line
I ran it at 200 and it seemed about right
at sugh a high accel, watching it do little circles is pretty impressive
dgarr: didn't test it yet, the nit I see is that you should read the pin only once -- store comp["set_manual_mode"] to a local then use it twice
also the pin name with hyphens, set-manual-mode, is more usual
maybe more like this: http://emergent.unpy.net/files/sandbox/0001-add-pin-to-set-axis-gui-to-manual-mode-so-pendant-ca.patch
updated with correct file
sorry, you guys were doing something real
I wouldn't mind hearing a third opinion, but I think I like this better than the first two possible solutions
in general I think a closer relationship between GUI and panel UI is better
and two separate apps (halui and gui) makes that harder
(urp, my revised patch says 'from dewey garrett' since I commit --amended his original .. that's not entirely right .. but maybe not entirely wrong)
git commit --amend is useful: http://filebin.ca/hppmvc
i added local var with this one
oh -- now i see yours -- it's probably better -- i don't really know python
that gets the idea
the underlying reason for that change isn't specific to Python -- it's to cover the (unlikely) case that between the two userspace reads of the pin, it's not changed by another source (such as the base-thread running and reading physical inputs)
if you end up using that patch, and you like it, feel free to ping me about it again in a few days. I feel OK with the idea in general but I know I won't test it for myself.
(I mean, I lightly tested it by setting the pin with halcmd .. but beyond that it's not something I need for my machine)
cradek: are you using 2.3 or master on your lathe these days? I'm looking back at e-mails I sent about what might go in the next 2.3, and I see some CSS-related bugs that nobody ever reported testing in 2.3.
(or in master, for that matter
cradek: so if you're using master and haven't noticed any css bugs, that's good news. otherwise, you should be my guina pig and test these:
bcb8aaf fix tcss.ngc bug
c2bc8cf fix tcss2.ngc bug
why do you use set-manual-mode for pin name instead of set_manual_mode -- is that a rule/convention or something?
ok -- thanks
I hate meld
it's useless trash
i will test the added pin and let you know
oh no wonder that won't apply -- I'd already cherry-picked it once
my opinion about meld is unchanged
jepler: it is using 2.3
uh 2.3.2 actually
oh I remember these atspeed problems
frankly I might not even have noticed them
BJT_Shop is now known as jthornton
how's the puma?
nice. I don't need anymore pressure
ok, lets switch topics then :D
how's the garage?
good - all sides are sided. Down to electrical
ah, then you have a bit more work
how is the apartment?
pretty much finished
electrical will be pretty easy. (I like doing that kind of stuff)
thought it was awful quiet
mozmck: you're candcnc?
I work for candcnc
I get a kick out of reading torchhead's posts. :) http://www.cnczone.com/forums/showpost.php?p=663655&postcount=7
Does he talk like that in person?
not all the time. :)
Is he getting turned on by emc2 yet?
yes, I am working on some components (slowly) to get all our stuff working in emc2
too much to do!