- Posts: 5712
- Thank you received: 0
Jerky Jogging (QTPlasmaC)
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
phillc54 wrote: I do see glitches on halscope when any page is active on a sim.
Ah, that's really good to know. Maybe they just don't happen fast enough for my ears to discern in other tabs?
I can grab some plots from the live machine today at some point.
Santa Tracker on google tells me that he wont arrive for 17 more hours, so I have some time to hal scope some stuff. Although he is in New Zealand now, so you'd better get to bed soon! :laugh:
Please Log in to join the conversation.
I am emptying my Jameson bottle at the moment, hoping he is going to fill it for me.snowgoer540 wrote: Santa Tracker on google tells me that he wont arrive for 17 more hours, so I have some time to hal scope some stuff. Although he is in New Zealand now, so you'd better get to bed soon! :laugh:
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
phillc54 wrote:
I am emptying my Jameson bottle at the moment, hoping he is going to fill it for me.snowgoer540 wrote: Santa Tracker on google tells me that he wont arrive for 17 more hours, so I have some time to hal scope some stuff. Although he is in New Zealand now, so you'd better get to bed soon! :laugh:
I've heard the elves can replicate any spirit with ease... So I think the odds of this coming true are high. I'm patiently waiting to see what kind(s?) of bourbon he delivers me!
Please Log in to join the conversation.
I tried the grabKeyboard idea but it had no effect (assuming I did it how it is supposed to be done). AutoRepeat still doesn't work correctly.
The following hack does seem to work successfully by delaying the key release.
The odd thing is that even though the hal plots showed a loss of signal for 30mSec~40mSec it only takes a delay of 1mSec to prevent the erratic jogging. At 0.99mSec it was erratic but at 1mSec it was stable. It could probably get away with 10mSec for a large safety margin as it is only in userland and the extra few mSec jog time shouldn't matter too much. The following code that I tested here is set for 1mSec and has not shown any erratic behaviour.
I left in a grabKeybord/releaseKeyboard as sometimes when the jog reached the maximum allowed, depending on which widget had keyboard focus it would do odd stuff like switch the view from Z to P or increase/decrease the feed override...
EDIT: Code change for simultaneous jogging a multiple axes
The end of init_widgets has this added:
The end of processed_key_event__ is changed to look like:
The end of kb_jog is changed to look like:
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
Best 2020 Software Related Christmas Present Ever!
Thanks all!
Please Log in to join the conversation.
Must be a deep Qt problem.
I wonder if I could add it higher up in the code so user's don't have to deal with it.
I thought we might have to abandon keyboard jogging...
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
cmorley wrote: I thought we might have to abandon keyboard jogging...
Only if you can replace it with mental telepathy, and the table just does what I want it to do... without lifting a finger
Can't use Elon's embedded microchip method either, that's cheating. :laugh:
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
No electricity since last night at 11PM !
Am i lucky or what?
Please Log in to join the conversation.
tommylight wrote: Two nights ago i installed Mint 19.3 on an SSD and Master version of LinuxCNC to have a go at QTPlasmaC and some other stuff, last night installed and configured everything to be able to test on one of the machines today.... Gues what ?
No electricity since last night at 11PM !
Am i lucky or what?
You are, but the wrong kind of luck.
Please Log in to join the conversation.
