Here are the steps I follow to reproduce the issue:
1. Configure a new mechine using Pncconf and then add 2 more joints in Z and Y axis as the machine have 3 axis and 5 joints (XYYZZ).
plasma2.ini.txt”>alhinaiplasma2.ini.txt
2. Changing gmoccapy to axis with same ini and hal files will make it run without issues.
3. After adding 5th joint (X) to example confige file sim.gmoccapy.nontrivialkinematics.Gantry same issue appear except it say y0 instead of z0
This is what I expected to happen:
Run without any issues.
This is what happened instead:
““
Traceback (most recent call last):
File "/usr/bin/gmoccapy", line 5158, in
app = gmoccapy(sys.argv)
File "/usr/bin/gmoccapy", line 281, in init
self.makeDRO()
File "/usr/bin/gmoccapy", line 566, in makeDRO
joint = self.getjointfromjointaxisdic(axis)
File "/usr/bin/gmoccapy", line 589, in getjointfromjointaxisdic
return self.jointaxisdic.keys()[self.jointaxisdic.values().index(value)]
ValueError: 'z0' is not in list
It worked properly before this:
after upgrading from https://github.com/phillc54/linuxcnc-plasmac to 2.8 or 2.9
Information about my hardware and software:
* I am using this Linux distribution and version: Debian GNU/Linux 9.9 (stretch)
* I am using this kernel version:Linux plasma 4.9.0-9-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64 GNU/Linux
* I am running …
* [x] A binary version from linuxcnc.org (including buildbot.linuxcnc.org)
* [ ] A binary I built myself
* [ ] A binary version from some other source besides linuxcnc.org
* I am using this LinuxCNC version:
1- linuxcnc 2.8.0-pre1-5093-ga042b0053
2- linuxcnc 2.9.0-pre0-507-g0dbddad61
* I am using this user interface (GUI):gmoccapy
* I am using this interface hardware vendor and chipset (e.g., parallel port, ethernet port, FPGA card): MESA 5i25 + 7i76
评论 (4)
#2 – ra7bi 于 2019-09-25
same problem here , Pls help
#3 – kd-2020 于 2020-01-16
I’ve found a solution to this issue but don’t know anything about using GitHub to submit code updated. I’ve posted it here https://forum.linuxcnc.org/gmoccapy/38201-gmoccapy-won-t-load-on-fresh-config
#4 – gmoccapy 于 2020-08-11
Fixed that with cea561b on 11.10.2020 – 19:59
thanks to AgentWD40 for the provided code, I used that with one minor change
#1 – alhinai21 于 2019-08-29
check out to e2928c43f8e27b8d7a84b84e34747a10d8c08c4c will solve the problem, I think bed140fb8695b4a40aa13dd68ab33ea62b99882d cause it