-
-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous jogging runaway on X-Y when using joystick #2487
Comments
Runaway or jog mode lock is more likely to happen at feed rate 600. |
Ok, since your jog feed rate is lower than the maximum rate the this is not the problem that I was suspecting. I can't reproduce this. You could try and update to UGS 2.1.6 and see if that helps. The gamepad library got updated in that version. |
I'm sorry to report that the issue is still happening with my setup (which is rather simple) using UGS 2.1.6. I can't reproduce the behaviour easily, but it seems to happen if long jogs are commanded (i;e; staying long times with the gamepad joystick deflected) or when joystick inversion are commanded (i;e; full left to full right stick movement) |
What is your computer specification?
|
heres the cpu info: processor : 1 processor : 2 processor : 3 and here's the free resources: |
Version
2.1.5
Hardware / Firmware
GRBL 1.1
What happened
Jogging mode gets stuck when operating a joystick as an input device (xbox 360 gamepad), more precisely when input source is "analog jog" from analog joystick.
This happens following a prolonged jog command (i.e. keeping an analog joystick of the joypad deflected on a side for a while to produce continuous jogging): when the joystick is released, often jog mode remains stuck (highlighted in green in GUI) , no buttons on GUI are responsive; joystick as well is no longer responsive. Only machine reset or reaching hard stop can stop the motion happening and make GUI responsive again: this shows that GRBL controller is not hanged, but simply UGS stays locked in perennial jog mode.
This can also be reproduced if analog joystick is yanked from side to side (i.e. full left to full right deflection).
GRBL board used is ESP32 based with Grbl_Esp32 firmware.
Perhaps a simple fix would be to start a safety timer to kill jog every time a jog command is started: in this way either the user bringing back the joystick to center or the timer will ensure continuous jog is stopped, releasing UGS from its stuck in jog mode state.
How to reproduce
No response
Operating System
ubuntu 22.04
Anything else
Can be reproduced very often, especially if certain feed rates are selected: in my case for instance with a rate of 600 selected I can almost every time reproduce it by yanking left right on the gamepad analog joystick.
The text was updated successfully, but these errors were encountered: