(SOLVED) BUG REPORT: Gmocappy Homing buttons in joint mode in Master

More
29 Jan 2017 20:31 #86927 by rodw

A Gantry is only one of many JA machines, imagine a Scara or 6 joints robot, they must home each Joint individualy.

May be we need a settings on the homing page to disable individual homing?


Norbert, This is not something the user needs acces to. If you could incorporate an ini file variable that hid everything but the home all button (and also hid the world mode button), gantry users could build a more robust machine.

As it is currently, sooner or later somebody will hit the wrong button and try to tear their gantry apart

Please Log in or Create an account to join the conversation.

More
30 Jan 2017 18:29 #86988 by newbynobi
Hallo Rodw,

I take that one on my to do list, but not in the INI.
IMHO it should go to the settings page.

Norbert

Please Log in or Create an account to join the conversation.

More
30 Jan 2017 19:55 #86998 by rodw

Hallo Rodw,

I take that one on my to do list, but not in the INI.
IMHO it should go to the settings page.

Norbert


Thanks Norbert. Whatever is easier for you.

Please Log in or Create an account to join the conversation.

More
30 Jan 2017 21:30 #87002 by rodw
Norbert, there might be an even simpler way.

Your JA example has this
KINEMATICS = trivkins coordinates=xyyz kinstype=BOTH

If you use
KINEMATICS = trivkins coordinates=xyyz
the Joint mode is disabled, the world mode selection button is hidden but gmocappy incorrectly provides Homing buttons for separate XYZ axis but these are tied to joints as there is no homing pins for a separate axis. This is actually the source of the bug as gmoccappy is out of step with the new joint model.

So I think the correct resolution is to hide the individual axis homing buttons and display a home all button only if the .ini file does not support
kinstype=BOTH

That would make me very happy!
Others might not be as happy with this change, but a GUI needs to reflect the LCNC model and currently it does not.

Please Log in or Create an account to join the conversation.

More
30 Jan 2017 22:05 #87007 by newbynobi
Again, it is not a bug!
That is the way Joint Axis branch behave.

If you would use a config XYZX in your case, the homing button would home the correct joints.
I have not checked jet, but axis should behave very similar, try to home the joints individualy with axis and report. You can do that, using the menu, not button.

Norbert

Please Log in or Create an account to join the conversation.

More
30 Jan 2017 22:06 #87008 by newbynobi
Please consider, you are using a trivial kinematics, but LinucCNC can handle also non trivial kinematics!

Norbert

Please Log in or Create an account to join the conversation.

More
30 Jan 2017 22:41 #87012 by rodw

Again, it is not a bug!
That is the way Joint Axis branch behave.

If you would use a config XYZX in your case, the homing button would home the correct joints.
I have not checked jet, but axis should behave very similar, try to home the joints individualy with axis and report. You can do that, using the menu, not button.

Norbert


Thanks Norbert, I will try your suggestion and review Axis tonight. A simple solution would be nice. I suspect however, the Home X axis will still only move Joint 0 and not move Joint 3

Please Log in or Create an account to join the conversation.

More
31 Jan 2017 18:38 #87083 by rodw
Ok, its 4:00 am but I was awake!

Though trying to resolve this issue, I have developed a much greater understanding of the operating modes of LCNC.

I took the standard Gmocappy Joint axis sim (which has XYYZ geometry) and made 2 changes in the .ini file:
1. Told it to use Axis instead of Gmocappy
2. Removed the kinstype=both from the KINEMATICS setting

So the .ini changes are shown below
[DISPLAY]
DISPLAY = axis
#DISPLAY = gmoccapy
[KINS]
KINEMATICS = trivkins coordinates=xyyz
#KINEMATICS = trivkins coordinates=xyyz kinstype=BOTH
JOINTS = 4

Hers is a screen dump from axis showing homing menu



so then I changed the display back to Gmoccappy
#DISPLAY = axis
DISPLAY = gmoccapy

And here is the homing screen dump



As you can see, Axis does not allow you to home the Y axis (which is the joint axis in this config). I believe it does this to prevent a user from tearing the gantry apart by only homing one side.

Gmocappy on the other hand, does not prevent the user to home just one side of the gantry and thus could result in a damaged machine.

I also believe from all the research id did in building my config that
kinstype=BOTH
should not be used in a Joint Axis configuration. Perhaps somebody with more experience can confirm this.

So from this testing, it would appear that there are 2 issues in Gmocappy.
1. The KINEMATICS statement in the default Joint Axis config is incorrect. It should be
KINEMATICS = trivkins coordinates=xyyz

2. Gmocappy incorrectly displays homing buttons in a Joint Axis Config and places the machine at risk of being damaged.

Please Log in or Create an account to join the conversation.

More
08 Feb 2017 19:01 #87592 by newbynobi
I am a little bit short of time, but I will work on this with priority A++

Norbert

Please Log in or Create an account to join the conversation.

More
08 Feb 2017 20:04 - 08 Feb 2017 20:05 #87595 by rodw

I am a little bit short of time, but I will work on this with priority A++

Norbert


Norbert, thanks. I have been the same way. I have spent a fair bit of time on this myself but have not had time to post my findings.

I added some code to detect if there were any joint axis right above where you configure a lathe. If joint axes were found, disable the relevant homing button. This was easy to do using the string.count() function. Then I added some code in the homing functions to renumber the joints. At this point, the DRO's were not being refreshed correctly (eg. Stayed red when homed). So When I added some code in an attempt to fix this but Joint 4 (Z) became Axis A.

At this point, I decided that enough was enough and went back to the setup code (near the lathe config) and just made it to hide every joint homing button if a joint axis was sensed. Anyway, I won't be able to post anything until tonight (6:00am and at work already)
Last edit: 08 Feb 2017 20:05 by rodw.

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.092 seconds
Powered by Kunena Forum