Homing and Unhoming Actions

More
6 years 3 weeks ago #185532 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.

Please Log in to join the conversation.

More
6 years 2 weeks ago #185643 by tommylight
bump

Please Log in to join the conversation.

More
6 years 2 weeks ago #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 ?

Please Log in to join the conversation.

More
6 years 2 weeks ago #185894 by phillc54
Yes, it only seems to unhome Z

Please Log in to join the conversation.

More
6 years 2 weeks ago #185910 by cmorley
Replied by cmorley on topic Homing and Unhoming Actions

phillc54 wrote: 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 to join the conversation.

More
6 years 2 weeks ago #185925 by phillc54
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.

Please Log in to join the conversation.

More
6 years 2 weeks ago #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

Please Log in to join the conversation.

More
6 years 2 weeks ago #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

Please Log in to join the conversation.

More
6 years 2 weeks ago #186072 by phillc54
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

Please Log in to join the conversation.

More
6 years 2 weeks ago #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

Please Log in to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum