- Posts: 7
- Thank you received: 0
Plasmac for Non-Identity Kinematics
3 years 9 months ago #262508
by smarcom
Plasmac for Non-Identity Kinematics was created by smarcom
I am building a portable oxygen-fuel cutting machine based on a scara arm. I have it working well with the axis gui, but I want to use Plasmac because of the conversational feature and the lost cut feature. However, it appears that this might not be possible, as I keep getting the "Joint Jogging Not Supported for Non-identity kinematics" error.
It appears that this error comes from line 815 in the qt_action.py file, which suggests that my project might not work with any QT screen. Is this correct? If so, is there any workaround?
Thanks,
Sam
I can provide my code if needed to help answer my question.
It appears that this error comes from line 815 in the qt_action.py file, which suggests that my project might not work with any QT screen. Is this correct? If so, is there any workaround?
Thanks,
Sam
I can provide my code if needed to help answer my question.
Please Log in to join the conversation.
3 years 9 months ago #262537
by phillc54
Replied by phillc54 on topic Plasmac for Non-Identity Kinematics
Please Log in to join the conversation.
3 years 9 months ago #262542
by smarcom
Replied by smarcom on topic Plasmac for Non-Identity Kinematics
I have attached a screenshot of the image, and a snippet of the code throwing the error. Maybe I'm on the wrong branch, but I checked and I'm on linuxcnc 2.9 and the master branch. Another issue I get in Plasmac is that the MDI displays some totally nonsensical numbers for X,Y, and not the output of the kinematics, axis still works. As far as you know, is the QT interface and plasma comp file compatible with non identity kinematics? I am doing a lot of customization on the gui to make it fit in a smaller display, so I want to make sure before putting too much time into it.
-Sam
-Sam
Code:
def jnum_check(self, num):
if STATUS.stat.kinematics_type != linuxcnc.KINEMATICS_IDENTITY:
LOG.warning("Joint jogging not supported for non-identity kinematics")
# return None
if num > INFO.JOINT_COUNT:
LOG.error("Computed joint number={} exceeds jointcount={}".format(num, INFO.JOINT_COUNT))
# decline to jog
return None
if num not in INFO.AVAILABLE_JOINTS:
LOG.warning("Joint {} is not in available joints {}".format(num, INFO.AVAILABLE_JOINTS))
return None
return num
Please Log in to join the conversation.
3 years 9 months ago #262543
by phillc54
Replied by phillc54 on topic Plasmac for Non-Identity Kinematics
TBH I am not sure. Chris will know the answer, he should chime in now that this thread is in the QtVCP section.As far as you know, is the QT interface and plasma comp file compatible with non identity kinematics? I am doing a lot of customization on the gui to make it fit in a smaller display, so I want to make sure before putting too much time into it.
Please Log in to join the conversation.
3 years 9 months ago #262550
by cmorley
Replied by cmorley on topic Plasmac for Non-Identity Kinematics
I have not tried Qtvcp screens on non trivial machines.
I wouldn't think it would take a lot to get them to work.
I'll need to make a sim to work with first.
I wouldn't think it would take a lot to get them to work.
I'll need to make a sim to work with first.
Please Log in to join the conversation.
3 years 9 months ago #262633
by cmorley
Replied by cmorley on topic Plasmac for Non-Identity Kinematics
I made a scara sim for qtaxis to test with.
While one does get the error message it still does jog.
qtaxis was missing a way to switch from joints to world mode and back.
I've added it
I would think qtplamac would need to be modified a bit to support non trivial jogging.
I don't understand how scara homing works - it seems the demo just homes in a static position.
While one does get the error message it still does jog.
qtaxis was missing a way to switch from joints to world mode and back.
I've added it
I would think qtplamac would need to be modified a bit to support non trivial jogging.
I don't understand how scara homing works - it seems the demo just homes in a static position.
Please Log in to join the conversation.
Time to create page: 0.413 seconds
