Override +- 10% buttons
08 May 2023 08:13 #270909
by Vmax549
Override +- 10% buttons was created by Vmax549
Has anyone done override + / - 10% buttons yet for PathPilot ???
(
TP
(

Please Log in or Create an account to join the conversation.
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.
- nick.smith
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 3
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.
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.
- nick.smith
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 3
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.
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.
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
Feed +10%
Feed-10%
speed+10%
speed-10%
m_vel +10%
m_vel-10%
(

Please Log in or Create an account to join the conversation.
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
Getting closer to mouse free every day, (

Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.119 seconds