bizarre. axis just crashed for me at startup in a way I've never seen before. it started properly the next time...
Traceback (most recent call last):
File "/home/jepler/emc2.cvs/bin/axis", line 3370, in ?
File "/home/jepler/emc2.cvs/bin/axis", line 1030, in init
minigl.error: (1284, 'stack underflow')
Shutting down and cleaning up EMC2...
03jepler 07TRUNK * 10emc2/src/hal/components/ (sampler_usr.c streamer_usr.c): allow the filename for input/output to be given on the commandline
jepler: I don't have anything else
jepler: I found a problem with arcs earlier. Also I think there is something wrong with g92.
so don't trust the interp quite yet if you're testing 5axis.
ok I fixed the last problem in it (haha)
03cradek 07w_tool_length * 10emc2/configs/5axis/5axis.ini: fix arcs with w TLO
03cradek 07w_tool_length * 10emc2/src/emc/rs274ngc/interp_convert.cc: fix arcs with w TLO
03cradek 07w_tool_length * 10emc2/src/emc/task/emccanon.cc: fix arcs with w TLO
jepler: short bugreport/question
if I do G92 X0 in MDI
I can see there's a (*) wich marks the initial machine position, and the XYZ coord system move to the current position
but the program stays in the old position
yes you're right
which one is reload?
the green circular arrows
right.. that works..
can this be somehow automated? (given the G92 doesn't even come from within AXIS?)
not in absolutely every situation. my intent is to cover the common one (user touches off in manual mode) and not try to get too fancy by doing things like reacting to the current coordinate system offset changing in the stat buffer from one moment to the next
(and that's not good enough -- imagine another gui does an MDI G10 L2 P2 to change the G55 coordinate system .. nothing changes in stat, but a loaded program might be affected if it switches to G55)
jepler: I agree
but somehow AXIS should be able to react to external events
this particular user is trying to add touch-off to his pendant
so a pin axis.axis-x-touchoff would have been best..
if he can invoke a shell command, he can run axis-remote --reload
MDI_COMMAND from halui
M101 -> axis-remote --reload
this is crazy :D
* alex_joni likes it
I would not use g92 for touch-off. I'd add a hal pin to AXIS if I wanted what you want