- Posts: 19899
- Thank you received: 4655
(SOLVED) BUG REPORT: Gmocappy Homing buttons in joint mode in Master
- andypugh
- Offline
- Moderator
-
rodw wrote: Andy, From what I can see, you absolutely can't home a joint axis other than with a home all.
This might be considered a feature... It does at least ensure that the tool is out of the way before moving the gantry.
It would be interesting to see what happens if you toggle the "halui.joint.N.home" input of both sides of the gantry at the same time. (whether it waits for each side to complete each stage as with home-all or whether it just individually-homes each side)
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
- Posts: 12170
- Thank you received: 4153
I have an associate who has run a lot of commercial profile cutters and his view of the geometry based on every machine he had ever operated was a bit different to mine. (He picked a different corner for home). As a result, I can see that I will need to add a "Park" button that moves the gantry to X max for loading etc so homing won't actually get things out of the road. Thats why I have a XXYZ machine and most people seem to have a XYYZ gantry machine.
I might have a go at your idea before I bolt things together. Perhaps Joint homing should check if it is part of a Joint axis and either do nothing or home it mates at the same time. Anyway, clearly, there is more work before axes and joints are truly independent of each other.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4793
- Thank you received: 1480
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
- Posts: 1931
- Thank you received: 394
I think todw's way is the correct one. I will at first step introduce a check if any axis letters are double, if so I will set the corresponding button insensitive. I can not hide it, because hiding a button leads to place changes of the resting button and the order has to be the same if you use hardware button around the screen.
At second step, I will try to find a way to start homing of two joints at the same time. I will make that in a separate branch and will then need a very brave gantry user to test the changes, as I have no gantry. If that works, I will need to find a way to reorder the relations between joints and axis, to avoid homing the wrong joint/axis.
The better way would be to allow homing an axis and linuxcnc knowing the relation between axis and joints, but that is out of my skill.
And that could also cause a lot of problems on non trivial kinematics.
All the mentioned will only take place, on trivial kinematics (I count gantry as such).
Norbert
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
-
- Posts: 1947
- Thank you received: 338
newbynobi wrote: Hallo @all,
I think todw's way is the correct one. I will at first step introduce a check if any axis letters are double, if so I will set the corresponding button insensitive. I can not hide it, because hiding a button leads to place changes of the resting button and the order has to be the same if you use hardware button around the screen.
At second step, I will try to find a way to start homing of two joints at the same time. I will make that in a separate branch and will then need a very brave gantry user to test the changes, as I have no gantry. If that works, I will need to find a way to reorder the relations between joints and axis, to avoid homing the wrong joint/axis.
The better way would be to allow homing an axis and linuxcnc knowing the relation between axis and joints, but that is out of my skill.
And that could also cause a lot of problems on non trivial kinematics.
All the mentioned will only take place, on trivial kinematics (I count gantry as such).
Norbert
This is closing the doors for people that might need to use the same axis letters on different joints that are not gantry related. I think a better option would be to provide a checkbox on settings screen called dual motor gantry then do whatever you need to do to disable the homing of the double drive letters.
My thoughts.....
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
- Posts: 12170
- Thank you received: 4153
bevins wrote:
newbynobi wrote: Hallo @all,
This is closing the doors for people that might need to use the same axis letters on different joints that are not gantry related. I think a better option would be to provide a checkbox on settings screen called dual motor gantry then do whatever you need to do to disable the homing of the double drive letters.
My thoughts.....
Maybe not. Perhaps my approach is a bit simplistic.If the detection code also referred to the HOME_SEQUENCE setting for each affected axis joint to see if it is negative (which is how a Joint Axis should be set up), then this should not affect the situation Bevins raises. I'm like Norbert, I simply don't know enough to be conclusive on this stuff given I only have half a LinuxCNC controlled machine under my belt
Please Log in or Create an account to join the conversation.