Homing and Unhoming Actions
10 Oct 2020 02:24 #185532
by phillc54
Homing and Unhoming Actions was created by phillc54
ACTION.SET_MACHINE_UNHOMED(-1) doesn't seem to behave correctly in that it only unhomes a single joint, in my case joint 2 which is the Z axis.
I assumed it should act similar to ACTION.SET_MACHINE_HOMING(-1) which does home all joints.
I assumed it should act similar to ACTION.SET_MACHINE_HOMING(-1) which does home all joints.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
10 Oct 2020 21:44 #185643
by tommylight
Replied by tommylight on topic Homing and Unhoming Actions
bump
Please Log in or Create an account to join the conversation.
12 Oct 2020 18:01 #185863
by cmorley
Replied by cmorley on topic Homing and Unhoming Actions
hmm it seems to work in qtdefault.
Is this homing code in the files you posted ?
Is this homing code in the files you posted ?
Please Log in or Create an account to join the conversation.
12 Oct 2020 23:08 #185894
by phillc54
Replied by phillc54 on topic Homing and Unhoming Actions
Yes, it only seems to unhome Z
Please Log in or Create an account to join the conversation.
13 Oct 2020 02:27 #185910
by cmorley
In the version i have of your screen i don't see a home home all button. The Home all button is non active after homing.
Replied by cmorley on topic Homing and Unhoming Actions
Yes, it only seems to unhome Z
In the version i have of your screen i don't see a home home all button. The Home all button is non active after homing.
Please Log in or Create an account to join the conversation.
13 Oct 2020 06:39 - 13 Oct 2020 06:41 #185925
by phillc54
Replied by phillc54 on topic Homing and Unhoming Actions
Well, I managed to thorougly confuse myself here, sorry all unhome works fine:
If all axes are homed and say we unhome Z then it unhomes.
If I then try to unhome X or Y they rehome rather than unhome.
The home/unhome code are in joint_homed and joint unhomed functions.
I also seem to be having some pathing problems:
I have a little sim test panel that I would like to put in a sim subdirectory but I cannot get it to work unless it is in the config directory. It is called from qtplasmac/qtplasmac_gui.tcl. You can see some other the combos I tried in qtplasmac_gui.tcl.
I cannot get the -H option to work from the ini file at all. I was hoping to call qtplasmac_gui.tcl from this option and leave postgui.hal for the users. At this stage the only way I can get it to work it to name qtplasmac_gui.tcl as the postgui_halfile in the ini file and call postgui.hal from there. You can see some of the combos I tried in the ini file.
If all axes are homed and say we unhome Z then it unhomes.
If I then try to unhome X or Y they rehome rather than unhome.
The home/unhome code are in joint_homed and joint unhomed functions.
I also seem to be having some pathing problems:
I have a little sim test panel that I would like to put in a sim subdirectory but I cannot get it to work unless it is in the config directory. It is called from qtplasmac/qtplasmac_gui.tcl. You can see some other the combos I tried in qtplasmac_gui.tcl.
I cannot get the -H option to work from the ini file at all. I was hoping to call qtplasmac_gui.tcl from this option and leave postgui.hal for the users. At this stage the only way I can get it to work it to name qtplasmac_gui.tcl as the postgui_halfile in the ini file and call postgui.hal from there. You can see some of the combos I tried in the ini file.
Last edit: 13 Oct 2020 06:41 by phillc54.
Please Log in or Create an account to join the conversation.
14 Oct 2020 05:05 #186064
by cmorley
Replied by cmorley on topic Homing and Unhoming Actions
Ahh I see that homing issue - I'll look at it.
-H oops that's cause I didn't put code to actually do this in qtvcp.... almost done
Path problem - i'll look at your config code see if I can figure it out.
Chris
-H oops that's cause I didn't put code to actually do this in qtvcp.... almost done
Path problem - i'll look at your config code see if I can figure it out.
Chris
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
14 Oct 2020 06:07 #186068
by cmorley
Replied by cmorley on topic Homing and Unhoming Actions
Ok pushed homing fix and -H fix.
I see the Path problem - will look at it soon.
Chris
I see the Path problem - will look at it soon.
Chris
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
14 Oct 2020 06:22 - 14 Oct 2020 07:17 #186072
by phillc54
Replied by phillc54 on topic Homing and Unhoming Actions
Great, thanks Chris, I'll take a peek tomorrow.
EDIT:
pathing works fine on the -H option:
if i have it in the config directory this works:
DISPLAY = qtvcp -c qtplasmac -H qtplasmac_gui.tcl qtplasmac
and if I have it in the subdirectory qtplasmac then this works:
DISPLAY = qtvcp -c qtplasmac -H qtplasmac/qtplasmac_gui.tcl qtplasmac
EDIT:
pathing works fine on the -H option:
if i have it in the config directory this works:
DISPLAY = qtvcp -c qtplasmac -H qtplasmac_gui.tcl qtplasmac
and if I have it in the subdirectory qtplasmac then this works:
DISPLAY = qtvcp -c qtplasmac -H qtplasmac/qtplasmac_gui.tcl qtplasmac
Last edit: 14 Oct 2020 07:17 by phillc54.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
14 Oct 2020 21:54 #186130
by cmorley
Replied by cmorley on topic Homing and Unhoming Actions
ok pushed path work into master - setting direct paths for ui/handler/qrs/qss should work fine now.
If all is good i will cherry pick it back to 2.8 later
Chris
If all is good i will cherry pick it back to 2.8 later
Chris
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.105 seconds