[LinuxCNC/linuxcnc Issue#650] When homing single axis after failed homing, more than one axis is homed

未分类 bolang 5个月前 (10-15) 48次浏览

Issue #650 | 状态: 已关闭 | 作者: grandixximo | 创建时间: 2019-09-29


Here are the steps I follow to reproduce the issue:

1.Open linuxcnc with axis_9axis configuration
2.Home and stop immediatly after by pressing ESC while Z is still homing
3.select Z axis and press home button on keyboard to home single axis

This is what I expected to happen:

Only Z axis home procedure is executed

This is what happened instead:

All 9 axis home procedure is executed

It worked properly before this:

This issue is not present on 2.7.14, but it is present on 2.8 and 2.9

Information about my hardware and software:

* I am using this Linux distribution and version (often, shown by lsb_release -a): Ubuntu 18.04.3 LTS
* I am running …
* [ ] A binary version from linuxcnc.org (including buildbot.linuxcnc.org)
* [x] A binary I built myself from latest git
* [ ] A binary version from some other source besides linuxcnc.org
* I am using this LinuxCNC version (shown in package manager or, for git versions, scripts/get-version-from-git): linuxcnc-uspace2.9.0~pre0amd64
* I am using this user interface (GUI) (e.g., AXIS, Touchy, gmoccapy, etc): AXIS


评论 (3)

#1 – grandixximo 于 2019-09-29

I’d like to propose a fix

in the homing.c file, near the end of the file in the case HOME_ABORT need to add

jointinsequence[joint_num]=0;

I think this is the correct fix


#2 – dngarrett 于 2019-09-29

Verified — thanks for the report, the method to replicate using a sim config, and the proposed fix. Bug exists in the 2.8 branch too, will fix


#3 – grandixximo 于 2019-09-29

You are welcome :-)


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/650

喜欢 (0)