gmoccapy 2.1.0 has been released

More
9 years 9 months ago #85594 by Hakan
Replied by Hakan on topic gmoccapy 2.1.0 has been released
Hi,
tested some today. I could get it to work actually,
When I press "Home all" then the joypad works as expected.
But I usually press "Home X" and then "Home Z", don't know why I do it that way really,
and then the X+/X-/Z+/Z- mouse press is needed.

So I will just press "Home all". Easy,

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

More
9 years 9 months ago - 9 years 9 months ago #85620 by newbynobi
Replied by newbynobi on topic gmoccapy 2.1.0 has been released
As already commented out, I am not able to test on real hardware at the moment.
But I think it may be related to the halui pin. Why are you using that pin and not the gmoccapy ones?

Just connect like so:
Code:
net jog-x-plus gmoccapy.jog.axis.jog-x-plus <= "pin from your pendant"
Please try and report.

Norbert
Last edit: 9 years 9 months ago by newbynobi.

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

More
9 years 9 months ago #85687 by Hakan
Replied by Hakan on topic gmoccapy 2.1.0 has been released
No success, the pin
Code:
input.0.abs-y-position
is a float and the
Code:
gmoccapy.jog.axis.jog-x-plus
is a bit so got an error message at startup. The abs-y-position is analog between -1 and 1.

But I think in principle it works using halui, it is just that joint.1 will not get homed when pressing "Home X" and "Home Z". It will get homed when pressing "Home all". Even if the Y axis is not used it is there in the background. That is the difference as far as I can see.

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

More
9 years 9 months ago #85739 by newbynobi
Replied by newbynobi on topic gmoccapy 2.1.0 has been released
If you want to use that pin, you should take a look at:

gmoccapy.jog.jog-velocity.direct-value
and
gmoccapy.jog.jog-velocity.analog-enable

etc.

Just take a look at the documents.

linuxcnc.org/docs/devel/html/gui/gmoccapy.html#_hal_pins

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

Moderators: newbynobi, HansU
Time to create page: 1.571 seconds
Powered by Kunena Forum