Unwanted jogging with joypad buttons???
21 Nov 2024 17:29 - 21 Nov 2024 17:50 #314984
by jtrantow
Unwanted jogging with joypad buttons??? was created by jtrantow
I have been running gmoccapy with a joypad with RIP tag v2.9.2 for quite a while on my mill, router, and lathe.
When I check out and build branch 2.9 or tag v2.9.3 and RIP with the exact same mill.ini, I am now getting jog Y negative direction (slow/fast) actions whenever I press the btn-joystick and btn-thumb on my joypad. I have these two joypad buttons set up to select speed (wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant).
I used hal watch to look at gmoccapy.jog.axis.joy-y-minus and it stays false when I press the buttons. If I do use the joy-y-minus set control it jogs at the same speeds(depending on turtle/rabbit) as when I press the joypad btn so the joypad buttons seems to be triggering the jog but I don't know how this gets mapped as there is nothing in my config that did that?
Looking at my gmoccapy.preferences
use_keyboard_shortcuts = False
I had to install version 4 of gtk something to get v2.9.3 to run, now I can't run run 2.9.2 anymore.
Any help/hints would be appreciated.
When I check out and build branch 2.9 or tag v2.9.3 and RIP with the exact same mill.ini, I am now getting jog Y negative direction (slow/fast) actions whenever I press the btn-joystick and btn-thumb on my joypad. I have these two joypad buttons set up to select speed (wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant).
I used hal watch to look at gmoccapy.jog.axis.joy-y-minus and it stays false when I press the buttons. If I do use the joy-y-minus set control it jogs at the same speeds(depending on turtle/rabbit) as when I press the joypad btn so the joypad buttons seems to be triggering the jog but I don't know how this gets mapped as there is nothing in my config that did that?
Looking at my gmoccapy.preferences
use_keyboard_shortcuts = False
I had to install version 4 of gtk something to get v2.9.3 to run, now I can't run run 2.9.2 anymore.
Any help/hints would be appreciated.
Last edit: 21 Nov 2024 17:50 by jtrantow.
Please Log in or Create an account to join the conversation.
21 Nov 2024 19:05 - 22 Nov 2024 00:43 #314995
by jtrantow
Replied by jtrantow on topic Unwanted jogging with joypad buttons???
Nevermind. Hardware fault. I must have a chip stuck in the analog pot. input.0.abs-y-position isn't going to zero (sticks at -~0.2) when released. So Y starts moving when the speed select buttons are pressed.
Last edit: 22 Nov 2024 00:43 by jtrantow.
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds