If when switching from joint mode to axis mode, and the axis is on the boundary, a warning is logged that you are starting outside limits, when you really aren’t.
This is a bug in emc/motion/control.c updateteleopwith_check().
There are two comparisons….
“`
if ( (axis->extoffsettp.currpos + axis->teleoptp.curr_pos)
>= axis->maxposlimit) {
// positive error, restore savecurrpos
and
`“
if ( (axis->extoffsettp.currpos + axis->teleoptp.curr_pos)
<= axis->minposlimit) {
// negative error, restore savecurrpos
which should use > and <, not >= and <= (Sorry - my github fork is broken, otherwise I would have submitted a pull request)
评论 (4)
#2 – ftkalcevic 于 2019-10-29
> I have noticed this as well, but why was this not an issue before?
It’s only a warning, so I’m guessing it was just ignored.
#3 – rene-dev 于 2019-10-29
no, Im running master on all my machines, and suddenly I noticed getting those messages.
#4 – andypugh 于 2019-11-13
Is anyone looking at this? Perhaps a git bisect would help see what changed? Or maybe just make the suggested fix?
#1 – rene-dev 于 2019-10-29
I have noticed this as well, but why was this not an issue before?