- Posts: 1317
- Thank you received: 0
Jog Z crashes rtapi_app in lathe mode
Start linuxcnc, select sim/gmoccapy_lathe
Jog some distance in Z leads to crash.
Jog in X works fine.
Switching to axis, jog in Z works fine.
Some more info here forum.linuxcnc.org/18-computer/36879-ras...pi-4?start=30#139815
It happens on the Intel PC (so not Raspberry Pi related).
Please Log in to join the conversation.
This should also affect the 2.8 branch that is coming out.
And yes this is a joint vs axis number problem.
joints in a lathe config are numbered 0 and 1
Axes are numbered 0 and 2
It's not documented very well (and I'm not sure it's the best implementation)
I just noticed this when working on qtvcp and was trying to get a discussion of a solution on the linuxcnc dev list
Chris M
Please Log in to join the conversation.
The problem can be seen in the simulator so everyone can reproduce it.
This must be something recent. I have been using a 2.8 gmoccapy for a long time.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
No such issue before or after homing.
Will test other versions later and report back, need food.
Please Log in to join the conversation.
Please Log in to join the conversation.
tommylight wrote: Linuxcnc 2.8pre, gmoccapy 2.3.3.4, linux mint, preempt rt, lenovo m93:
No such issue before or after homing.
Will test other versions later and report back, need food.
Are you trying the lathe config?
Please Log in to join the conversation.
This makes some sense to me as the probable problem is linuxcnc has been directed to jog joint 2 which there isn't one. In axis mode the value 2 = X axis.
So there are two problems here -linuxcnc shouldn't crash if you ask it to jog a joint that is not available, and Gmoccapy needs to use different values for jogging based on joint or axis mode or linuxcnc needs to be smart enough to jog the right axis based on the joint number.
Chris M
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Will do that later, i have on two laptops and a PC.Hakan wrote: Try latest one, there is where I have seen it.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Yes of course, the metric version.cmorley wrote:
tommylight wrote: Linuxcnc 2.8pre, gmoccapy 2.3.3.4, linux mint, preempt rt, lenovo m93:
No such issue before or after homing.
Will test other versions later and report back, need food.
Are you trying the lathe config?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Two laptops with Mint 19.1, preempt rt, Linuxcnc 2.9pre0.228, gmoccapy 2.3.5 sim lathe metric
Both will start, exit e-stop, and as soon as enable is active it will not react to anything any more, not even close, it has to be forced to quit.
Both work perfectly well and do not crash with the normal gmoccapy, the first in the menu.
Note, one of these laptops can run Linuxcnc with a Mesa 7i92 for days perfectly, the other tends to drop the communication at random from 3 to 30 minutes in.
Please Log in to join the conversation.
