QTPlasmaC with six axis
17 Oct 2023 23:39 #283199
by phillc54
Replied by phillc54 on topic QTPlasmaC with six axis
I have pushed an update with a custom user button.
The command required for the button is "toggle-joint" or you can use the keyboard "j" key if keyboard shortcuts are enabled.
The command required for the button is "toggle-joint" or you can use the keyboard "j" key if keyboard shortcuts are enabled.
Please Log in or Create an account to join the conversation.
18 Oct 2023 05:59 - 18 Oct 2023 06:01 #283209
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with six axis
I agree with the custom user button. I will test today thanks.
There might still be an issue with the coordinates not getting read from the INI file but I will test that gain today as well.
There might still be an issue with the coordinates not getting read from the INI file but I will test that gain today as well.
Regards
Marius
www.bluearccnc.com
Last edit: 18 Oct 2023 06:01 by mariusl.
Please Log in or Create an account to join the conversation.
18 Oct 2023 12:34 #283230
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with six axis
@Phill, so the coordinates is still an issue. This is in the INI file but it does not see the abc axis.
The error again
[KINS]
JOINTS = 6
KINEMATICS = XYZABCtrsr
COORDINATES = XYZABC
The error again
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/qtvcp", line 545, in <module>
_qtvcp = QTVCP()
File "/home/plasma/linuxcnc-dev/bin/qtvcp", line 294, in __init__
window.handler_instance.initialized__()
File "/home/plasma/linuxcnc-dev/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 350, in initialized__
self.set_axes_and_joints()
File "/home/plasma/linuxcnc-dev/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 3044, in set_axes_and_joints
self.w['home_{}'.format(axis)].set_joint(self.coordinates.index(axis))
ValueError: substring not found
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
18 Oct 2023 22:30 #283259
by phillc54
Replied by phillc54 on topic QTPlasmaC with six axis
It is usually done in this format, which is what we look for:orI would imagine that you would just change "trivkins" to your "XYZABCtrsr" but that is only a guess as I have never used anything but trivkins.
KINEMATICS = trivkins coordinates=xyzabc
KINEMATICS = trivkins coordinates=xyzabc kinstype=both
Please Log in or Create an account to join the conversation.
19 Oct 2023 06:21 #283272
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with six axis
Not all kinematics modules will except the parameters. Ours doesn't but that could be non compliant to some requirements that are unknown at this time.
We might also have an issue with switching to joint mode and jogging while our kinematics module is not typed.
We are busy looking into that as well.
Otherwise, the simulations and running on QTPlasma is looking good so far. I don't have the hardware finished yet but it is looking good at the moment.
The current setup has the tube cutter situated at the home position and the plate cutting area next to that. I will add a button to switch modes between the two.
We might also have an issue with switching to joint mode and jogging while our kinematics module is not typed.
We are busy looking into that as well.
Otherwise, the simulations and running on QTPlasma is looking good so far. I don't have the hardware finished yet but it is looking good at the moment.
The current setup has the tube cutter situated at the home position and the plate cutting area next to that. I will add a button to switch modes between the two.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
19 Oct 2023 11:21 #283290
by phillc54
Replied by phillc54 on topic QTPlasmaC with six axis
I guess we could first test for trivkins and if that is not specified then use [KINS]COORDINATES to get the joints to axes mapping.
Please Log in or Create an account to join the conversation.
19 Oct 2023 11:45 #283294
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with six axis
We have to get our kinematics module to be compliant with switchkins requirements. We will have to be able to switch properly anyway if we want to be able to jog in joint mode. We are working on that now.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
20 Oct 2023 12:02 #283350
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic QTPlasmaC with six axis
@Phill, we have the kinematics working with switchkins. I used two custom buttons to run the M codes to do the switch. I would like to have a fixed button that will allow me to switch kins and show on the button text what kins are being used.
The joint button should also work in that way.
If you give me some direction I will attempt to do the coding but I will most likely bug you a lot.
You are welcome to PM me if we need to talk about it.
The joint button should also work in that way.
If you give me some direction I will attempt to do the coding but I will most likely bug you a lot.
You are welcome to PM me if we need to talk about it.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
21 Oct 2023 00:13 #283401
by phillc54
Replied by phillc54 on topic QTPlasmaC with six axis
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds