Override +- 10% buttons

More
08 May 2023 08:13 #270909 by Vmax549
Has anyone done override  + / - 10% buttons yet  for PathPilot ???

(;-) TP

Please Log in or Create an account to join the conversation.

More
08 May 2023 11:19 #270920 by Vmax549
Replied by Vmax549 on topic Override +- 10% buttons
OK I see how to change the value of the sliders BUT I do not see a way to get the current value of the slider. Any Ideas or hints ??

(;-) TP

Please Log in or Create an account to join the conversation.

More
08 May 2023 12:34 #270923 by nick.smith
Replied by nick.smith on topic Override +- 10% buttons
This is a janky way to do it, but on my Shortcuts page, I'm doing sliders at 0%, 20%, 50%, 100%, etc by mousemoving to a specific xy coordinate, then dragging to a specific xy coord.

Since they are bash scripts, you can store and retrieve the location you traveled to, which can be interpolated as the slider percentage.

Please Log in or Create an account to join the conversation.

More
08 May 2023 12:36 #270924 by nick.smith
Replied by nick.smith on topic Override +- 10% buttons
Also, I've been told by the mfg that the current location of the slider isn't located anywhere, which is bollocks, but I have found that if you mousemove fast enough (which xdotool definitely can do), resetting the slider to 100%, then moving to another percentage happens so fast the machine doesn't notice.

For example, if you're at 50% and want to go to 40%, I haven't figured out how to find if the slider is at 50% or not (retrieving a previously stored value would do it, but I haven't written that code yet), BUT you can reset it to 100%, then travel to 40% so fast that the machine doesn't notice.

Please Log in or Create an account to join the conversation.

More
08 May 2023 17:52 #270948 by Vmax549
Replied by Vmax549 on topic Override +- 10% buttons
OK, I found the current override values in the Hal section. So now to make a new set of hotkeys

Feed +10%
Feed-10%

speed+10%
speed-10%

m_vel +10%
m_vel-10%

(;-) TP

Please Log in or Create an account to join the conversation.

More
08 May 2023 19:34 #270951 by Vmax549
Replied by Vmax549 on topic Override +- 10% buttons
I now have hotkeys that adjust the overrides +/- 10% each push. I will post the code to the toolbox after some more testing.

Getting closer to mouse free every day, (;-) TP

Please Log in or Create an account to join the conversation.

More
28 Sep 2023 09:51 #281780 by DestructiveSoul
Wow! this is awesome!! are you able to share how you did this? The mouse is making me crazy lol..

Please Log in or Create an account to join the conversation.

More
28 Sep 2023 09:58 #281782 by tommylight
Replied by tommylight on topic Override +- 10% buttons
Axis GUI in LinuxCNC has +-10% buttons out of the box, numbers from ~ to 0 , yes tilde is 0% so the machine will not move 1=10%, 2=20% ..... 0=100%.
Can any of you try that on PathPilot and report back, please.

Please Log in or Create an account to join the conversation.

More
28 Sep 2023 11:14 #281787 by snowgoer540
Replied by snowgoer540 on topic Override +- 10% buttons
It does not work Tommy, Tormach has very few keyboard shortcuts mapped in PathPilot.

Please Log in or Create an account to join the conversation.

More
28 Sep 2023 11:58 #281788 by nick.smith
Replied by nick.smith on topic Override +- 10% buttons

Wow! this is awesome!! are you able to share how you did this? The mouse is making me crazy lol..
 

I am close to mouse-free:

tormachtips.com/shortcuts.htm

Looks sort of janky, but you can set this up however you want and write shortcuts for whatever you want. I cannot and will not use my machine without my shortcuts. 100%, total game changer. 

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.193 seconds
Powered by Kunena Forum