Whenever there is an kinematicsInverse error, axis appears to stop, but joint.n.amp-enable is still TRUE. This is on master.
This appears to be a bug in emc/motion/control.c getposcmds(). If an error occurs, emcmotDebug->enabling is set to 0, and SETMOTIONENABLE_FLAG(0) is called.
This call to SETMOTIONENABLEFLAG shouldn’t be made. This is done automatically in setoperatingmode(). Setting the flags causes setoperating_mode() to not work correctly.
SETMOTIONENABLEFLAG(0) is called 4 times in getpos_cmds(). They should all be deleted.
(Sorry – my github fork is broken, otherwise I would have submitted a pull request)
评论 (2)
#2 – andypugh 于 2020-03-23
Addressed by 252e2899f9611f4f1cc79dd9135991e97c8de4d8
#1 – andypugh 于 2020-01-15
I have had this sat in my inbox since October, and have been meaning to have a look at it.
(This is just to say that this hasn’t been entirely lost from consideration)