qtdragon_hd updated handler issue

More
10 months 1 week ago #340396 by Mr1576
 

Attachment not found

Hi Everyone, first post here on the forum.I'm very new to Linuxcnc, and am building a 4 axis machine. I have Linuxcnc 2.9.3 installed and literally just a few days ago started playing around with jogging in increments within Qtdragon_hd. (love the interface)Sadly the only increments that actually work are 0.1mm or smaller. Everything else produces random results.After some reading it was suggested that I update the qtdragon_hd handler.py which seemed logical, and after downloading from the github a new .py file (95.5kb) I eventually figured out how to replace the original.Unfortunately now I cant launch the program and just get an error - hopefully attached is the report. If I revert to the original handler.py the program launches but I still have the unreliable increments.Have I missed a link somehow with respect to the new handler looking for a reference to my HAL and ini files?Would love to get some input for a solution.Many thanks

Please Log in to join the conversation.

More
10 months 1 week ago #340411 by cmorley
I checked 2.9.7 and 2.9.3. I see no jogging with screen buttons issue.
I'm assuming you mean the screen buttons.
It could be a key repeat issue.

I would suggest updating your whole system to 2.9.7 before I'd suggest updating the handlerfile, but we should see if it's a system problem first.

Please Log in to join the conversation.

More
10 months 1 week ago #340416 by Mr1576
Thanks for the reply.

To be perfectly honest I wasn't using the on screen buttons, just the arrow keys on my keyboard which I assumed would do the same thing once keyboard shortcuts were enabled 

Having tried the on screen buttons they actually work fine in jogging increments. So the issue appears to be with my keyboard?

I tried updating to 2.9.7 but I am getting all sorts of errors downloading from the repository. Perhaps I should start another thread in a different section for that.

Please Log in to join the conversation.

More
9 months 3 weeks ago #341025 by Mr1576
Sorry to bring this up again. Now upgraded to the latest release of Linuxcnc 2.9.8 as a fresh install. Changed to a new keyboard and the jogging issue with increments is still there.
Software buttons in qtdragon_hd work fine. Keyboard arrow keys for xyz yield random results for anything larger than 0.1mm increments.
Could anyone please try their keyboard to see if they get the same problem?
Thanks in advance

Please Log in to join the conversation.

More
9 months 3 weeks ago #341026 by NWE
I just now tested on a virtual machine, QtDragon XYZ Inch simulation. I can select jog increments and click the jog buttons and it seems to move correctly. But my keyboard is jogging in continuous mode regardless what increments I select. Resulting in a random amount of movement each time I peck an arrow key.

My LinuxCNC version is 2.9.2, I didn't find quick where to see what QtDragon version I've got.

Small increments is working but not the larger ones, same as you described.

Please Log in to join the conversation.

More
9 months 3 weeks ago #341033 by NWE
Just got done spinning up and testing a 2.9.8 LinuxCNC virtual machine. It works! Or I think it does. If I press-and-hold a keyboard button it travels the jog increment distance (I tried 1in and 10mm, both seemed to work.)

If I just tap the button, it jogs a short random distance. In other words, I jog it with my keyboard but if I want to stop mid-move, I just need to release the key.

Please Log in to join the conversation.

More
9 months 3 weeks ago #341103 by cmorley
I see this in master and looking at the code, I see why.
Thanks for details and investigation.
I'll try to push a bug fix soon.

Please Log in to join the conversation.

More
7 months 2 weeks ago #344274 by Mr1576
Hi @cmorely, any news on this issue?

Best Regards

Please Log in to join the conversation.

More
7 months 2 weeks ago #344292 by cmorley
Fix was entered into 2.9 and master on Jan 9th

github.com/LinuxCNC/linuxcnc/commit/f0e3...fdb6f4768798b4bf4be2

Chris

Please Log in to join the conversation.

More
7 months 1 week ago #344417 by Mr1576
Outstanding, thank you!

Please Log in to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum