jmkasunich_ is now known as jmkasunich
03tissf 07TRUNK * 10emc2/docs/src/ (Submakefile index_fr.tmpl): French translation
03tissf 07TRUNK * 10emc2/docs/html/gcode_fr.html: French translation
hi ajex_joni how are you ?
alex ! sorry
alex_joni_ is now known as alex_joni
tissf: sorry.. connection died..
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2007-11-19.txt
tissf: just fine :D you?
I've been able to reproduce the "arc in MDI causes no motion" behavior several times in a row.
here are the steps I've been using: start emc sim/axis.ini
F1 F2 ctrl-home
clear G54 coordinate offsets
at this point, DTG goes to 6.mumble inches but the machine is not moving
here's the debug output:
Issuing EMC_TRAJ_CIRCULAR_MOVE -- (+221,+168, +0,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000, -1, +3,0.000000,0.000000,20.000000, +0,)
if I jog a bit at random and then reissue the move, I get a slightly different movement issued:
Issuing EMC_TRAJ_CIRCULAR_MOVE -- (+221,+168, +0,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000, -1, +3,0.016667,1.200000,20.000000, +0,)
note that the field after +3 was 0.000000 the first time and 0.016667 in the one that worked
the next number is 0 vs nonzero as well
I am guessing that those are velocity and acceleration
no that's not right -- they're 'vel', 'ini_maxvel'
1283 tcircle = fabs(angle * radius / circ_maxvel);
1285 taxial = fabs(axis_len / axial_maxvel);
1286 tmax = MAX(taxial, tcircle);
(gdb) print tcircle
$9 = 0
(gdb) print taxial
$10 = inf
this is probably not right..
(gdb) print angle
$11 = 0
OK, first problem -- angle should probably be 2pi here, not 0.
(gdb) print axis_len
$12 = 3.3087224502121107e-24
second problem, axis_len is not quite zero but axial_maxvel *is*
leading to infinite taxial
I don't think this has anything to do with MDI
this fixes the specific behavior I saw (with like changes for each plane): http://pastebin.ca/783992
seems good to me, the axis_len > 0.001 seems bogus to me too
but you should wait for chris.. he touched this stuff the most number of times :0
gah. I can't remember the moderator password for the emc2mail list I set up on DH
and I'm starting to get spam there (awaiting moderation ...)
a lot of machines have lower vel/acc for Z; most arcs are in XY only. In the usual case we should be able to ignore Z constraints
but, I don't know how to safely do that
safe = avoid FP issues
also arcs in other planes
sorry, I meant 'the usual case' = xy plane, no helix
I just noticed that 2.1.1 didn't get announced on sourceforge
oops.. forgot that
will do it today
jepler: thanks for noticing
maybe we should try to do 2.2.2 this weekend
it is a holiday weekend for many (which could be good or bad for an open source project :) )
Thanksgiving here in the US
jepler, alex_joni: did you finish the step/pause/resume fixes in AXIS?
cradek: in TRUNK at least
we are going to have 2 meals at the house - one for the wifes familly (thurs) and one for mine (sat)
almost completely.. jeff had a couple things to finish :)
cradek: I'm a bit awkward about merging it to v2_2
it "only" affects AXIS, but it's a bit intrusive imo
I will test it some more when you guys say it is ready, that's all I can offer
jepler gets to decide on the backport :-)
fwiw I only lose thursday to the holiday ..
I'll look at the axis pause/step changes soon
It'd also be nice to fix this arc bug
Hi paul! http://www.tuxcnc.org/pivot/entry.php?id=17#body
I try not to read the troll, but if you promise it's funny maybe I will
I think you pl;ay the part of "Eppler" in that story
it's kind of him to spell my name wrong
if that is indeed supposed to be you
heh :) names have been changed to protect the innocent..
not bloody likely ;)
if it was a mistake maybe he'll correct it after he reads through the logs
I hope he's learned to search for "hi paul" in order to more easily find the parts that are relevant
I try to be helpful
that's very kind
well I broke down and read it
I love his fix for the "race condition" (which by the way should be an offensive term to anyone who is of a particular race)..
heh - yeah, pretty funny isn't it?
like an efficient loop eliminates race conditions
not that I particularly love the old code either, but neither one protects against a modification to one of the two variables
and of course his has the "bools not equal to zero or one" problem
back to my actual life
I prefer the shorter version - using ^ instead of multiple ifs, but it's all the same when you get down to it
blech - I think I should have rinsed this coffee cup one more time - soapy coffee is the worst
yes but you need some ! in there to make sure you've got zeros or ones
outdata |= !!((*(slot->digout[b].data)) ^ (slot->digout[b].invert))
outdata |= (!data) ^ (!invert);
is what I had in mind
what if 'data' is 0x2 and 'invert' is 0x1? You want to get a zero bit in outdata, but you'll get a 1 bit
hmm. that looks better (or at least shorter)
I am certain we hashed this all out once before
I wonder if we considered this variant: data ? !invert : invert
you still have the possibly-not-0-or-1 problem with invert
in the !data case
OK then, data ? !invert : !!invert
I may be low on caffeine, but wouldn't that - err, right
invert ? !data : !!data
bah, that has a chance of being understood
oh, sorry. I'll get more soap now
data and invert are equivalent, but if you write it in my way you'll have more trouble understanding it
if we output invert instead of data, that might be just confusing enough
though you're right, out = data ^ invert, so they're commutative
hahah -- I think the pump was inadvertently tested once.
(said john k)
yeah - I'm glad I didn't see that particular fountain
yeah, thankfully I only heard about that.
I know how bad my bandsaw coolant gets, and that's only after a few months
at least it dries out after a while - it's just an open-top basin
We have used water soluable coolant off and on.. Don't really remember an issue with it.
the place rarely gets above 70 though. maybe that helps
03tissf 07TRUNK * 10emc2/docs/src/index.tmpl: French translation
* alex_joni heads home
see you guys tomorrow probably
jfyi, it's not the best thing to leave home at 10pm :)
Have fun :)
goodnight alex_joni and all
jepler: sf news item done
thanks for reminding me about that..
thanks for doing it
SWPadnos_ is now known as SWPadnos
SWPadnos___ is now known as SWPadnos