Jerky Jogging (QTPlasmaC)

More
5 years 10 months ago #193003 by tommylight

persei8 wrote: I have found that different distros may install qt in directories different from what pyqt expects. Sometimes, you need to figure out where python is searching for it's libraries. No doubt a huge PITA but not necessarily qt's fault.

Yup, had a run at it also, but to no avail. This is the state of Python on my main PC after a night of trying to get thins going:

Attachment not found

Please Log in to join the conversation.

More
5 years 10 months ago #193008 by hottabich
Replied by hottabich on topic Jerky Jogging (QTPlasmaC)

snowgoer540 wrote: I added it at line 318. If that's correct, it's not the issue as it didn't change the jog behavior.

Thanks though!

Sorry, see your file qtplasmac_handler.py is possible?

Please Log in to join the conversation.

More
5 years 10 months ago #193027 by snowgoer540

cmorley wrote: Does it coincide with graphics display and keyboard jogging?

The graphics display takes a lot of processing power.

That was my initial thought, because it doesnt do it when you're off the MAIN tab. However, I dont think so... for two simple reasons (albeit maybe bad logic):
1. It does have the issue with the GUI jog arrows on the MAIN tab.
2. Everything works fine in Axis, and I believe the preview stuff is essentially the same.


hottabich wrote: Sorry, see your file qtplasmac_handler.py is possible?


You can find it here: github.com/LinuxCNC/linuxcnc/tree/master...cp/screens/qtplasmac

Please Log in to join the conversation.

More
5 years 10 months ago #193029 by snowgoer540

tommylight wrote:

persei8 wrote: I have found that different distros may install qt in directories different from what pyqt expects. Sometimes, you need to figure out where python is searching for it's libraries. No doubt a huge PITA but not necessarily qt's fault.

Yup, had a run at it also, but to no avail. This is the state of Python on my main PC after a night of trying to get thins going:

I definitely didn't have this problem... i used one of beagle's 19.2 iOS's from probably a year ago. QTVCP just worked.

Please Log in to join the conversation.

More
5 years 10 months ago #193032 by hottabich
Replied by hottabich on topic Jerky Jogging (QTPlasmaC)
Try to replace this piece of code
Code:
if flag: if isinstance(receiver2, EDITOR): # if in manual do our keybindings - otherwise # send events to gcode widget if STATUS.is_man_mode() == False: if is_pressed: receiver.keyPressEvent(event) event.accept() return True elif is_pressed: receiver.keyPressEvent(event) event.accept() return True else: event.accept() return True if event.isAutoRepeat():return True
or add the bottom line.

Please Log in to join the conversation.

More
5 years 10 months ago #193035 by snowgoer540
a little confused about the tabbing.

Is this right:
Code:
if flag: if isinstance(receiver2, EDITOR): # if in manual do our keybindings - otherwise # send events to gcode widget if STATUS.is_man_mode() == False: if is_pressed: receiver.keyPressEvent(event) event.accept() return True elif is_pressed: receiver.keyPressEvent(event) event.accept() return True else: event.accept() return True if event.isAutoRepeat():return True

Please Log in to join the conversation.

More
5 years 10 months ago #193051 by phillc54
Replied by phillc54 on topic Jerky Jogging (QTPlasmaC)
I had a bit of a look at this today and the qtplasmac code was a bit different to qtdragon. I modified the code so it was similar to qtdragon and it is now also similar to qtaxis.

It seems that the event.isAutoRepeat() is a bit hit and miss in its capturing of repeats. At random times it will pass through a continuous stream of keypresses when a jog key held down.

Please Log in to join the conversation.

More
5 years 10 months ago #193052 by cmorley
Replied by cmorley on topic Jerky Jogging (QTPlasmaC)
try;
Code:
if event.isAutoRepeat(): event.accept() return True

Please Log in to join the conversation.

More
5 years 10 months ago #193053 by phillc54
Replied by phillc54 on topic Jerky Jogging (QTPlasmaC)
Still the same. :(

Please Log in to join the conversation.

More
5 years 10 months ago #193054 by phillc54
Replied by phillc54 on topic Jerky Jogging (QTPlasmaC)
I played around with the repeat delay and repeat speed in the system keyboard settings and that had no effect.

Please Log in to join the conversation.

Time to create page: 2.134 seconds
Powered by Kunena Forum