Gamepad for Jog
-
@scrhall
So the API part is pretty straight forward, the main thing will be to make a user interface that is able to capture those actions and set them to jog commands. Maybe if I get some time this weekend I could knock something out
https://imgur.com/a/sv1ozrQ -
Wasn't planning to get to it this weekend but figured it couldn't be that bad.
UI is going to need work but everything is getting set and it is issuing move commands.
-
I am overlapping my posts sorry ;O
Stopping for the night but wanted to share where I am at for those who may be interested.
Blue indicates that the button or axis is being pressed.
https://www.youtube.com/watch?v=bW6pccIuNTo&feature=youtu.be
little demo.
-
@Sindarius WOW, nice job.
Is the code shared anywhere? -
@scrhall https://github.com/Sindarius/DWC_GamepadJogger_Plugin
I got a few things I want to button up like custom actions and I’ll build a pluginnfor 3.2-beta3+
-
I don't know the world of duet too much yet, would this work with duet 2 wifi?
-
@scrhall dont know if you allready seen this, but here is
https://forum.duet3d.com/topic/19970/duet-3-controlled-by-ps3-remote-via-bluetooth -
@Donpi That's pretty slick I do like the idea of it running on the SBC so that you don't have to be on the webpage but this plugin will allow people who run standalone to the ability to use a gamepad as well.
I have a plugin put together that runs on DWC 3.2 Beta-3.
https://github.com/Sindarius/DWC_GamepadJogger_Plugin/releases/tag/0.1.0 -
@Donpi since I don't have duet 3, I can't use that, although it's the same result I'm looking for.
I am assembling a workbee, as soon as it is assembled I will test your code @Sindarius , thank you very much, you saved me many hours of development.
-
@Sindarius the plugin only works in DWC 3.2? I use the workbee version (i think is based in 2.0.4)
-
@scrhall 3.2 beta is the first version of DWC that includes support for plugins so that’s the only way, without making a custom build, that supports 3rd party development.
I run an OpenBuilds Sphinx I plan to put a Duet on so I had plans to make this plugin. Maybe the Workbee group will be updating their DWC at some point when 3.2 releases to support 3rd party plugins.
-
Hey @sindarius, I'm using your gamepad jogger for my CNC router with a Logitech F710 wireless gamepad and I have noticed that the buttons often seem to be double pressed. Is there a sensitivity setting anywhere? With the keyboard it seems to have a better delay for holding keys. I'm just worried I'll crash my router making moves that are too big.
Thanks.
-
@baird1fa there is a set debounce timer because the gamepad commands ultimately get translated to gcode commands. When using a gamepad I recommend using smaller steps to control the moves. If I change the timer it will potentially lead to more stuttering.
As a side note web browser are converting the gamepad api functionality to require webpages to be secure (HTTPS) so it's highly possible this plugin will stop functioning all together in the near future.
-
Hello, thank You for this great plugin. I have one question. Is it possible to create an action to call commandType.plugin functions? I would like to create button/action to reset feedrate and steps to default values.
-
This post is deleted! -
@Pigeon It's something that I could look into adding but at the moment there's nothing built in to reset those values.