winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.86k stars 757 forks source link

Z Axis moves upward when joystick disconnects. #2370

Closed itsnotlevel1 closed 8 months ago

itsnotlevel1 commented 8 months ago

Version

2.1.2

Hardware / Firmware

FluidNC

What happened

It happened twice this evening. I was sitting next to my machine and the joystick was active....I had been using it minutes before. The joystick times out after a bit....maybe 10 - 15 minutes? Info on xbox controller says its a 15 min timeout. And when that happens....the z axis moves upward and it appears to move the distance of the current jog setting is.... mine was at 1" both times and it sounded like 1". If I shut the joystick off manually, it doesnt do it. Log file attached.

And I just let it time out again....15 min and my z axis moved up 1", but it doesnt do it when I manually turn it off.

How to reproduce

Just let the joystick timeout on its own and it will move the z axis.

Operating System

Linux Ubuntu 22.04 LTS

Anything else

Twice today. Again intentionally a third time a min ago.

breiler commented 8 months ago

I was able to reproduce this problem. It seems that we receive some junk data when the controller goes offline. Working on a fix.

breiler commented 8 months ago

I think got it, couldn't reproduce after this fix. Available in the latest nightly build

breiler commented 8 months ago

I am closing this issue as I am no longer able to reproduce it. If the problem remains please reopen and provide log file.