Gamepad jogging stutters, keyboard jogging works fine

Iā€™m using an Xbox One wireless controller with the latest version of gSender. On both Windows and PI OS, moving along X and Y sends repeated move commands rather than a continuous move. Shift+R/L/U/D Arrow works as expected. The major difference Iā€™m seeing is the Joystick Options section of the gamepad settings. That wasnā€™t there in the 1.2.X version where the gamepad worked. Otherwise, all settings appear to be the same. Maybe itā€™s an issue with the xbox driver?

The same controller worked just fine in gSender 1.2.X. Ever since I upgraded, Iā€™ve had this problem. I tried installing gSender on a fresh install of Windows 11 and also on 64bit PI OS on an rPI 4B but saw no change.

I can post the output log and a screen capture of whatā€™s going on later. My longmill is in a shop with no internet or cell service nearby, so that will take awhile. Any ideas in the meantime?

I had similar problems when upgrading the gSender version. I have gone back to V1.2.2 and everything works great (including the XBox wireless controller) so Iā€™ll be staying there.

Iā€™m holding at 1.2.2 also until I can detect no problems with the new versions. I donā€™t have time to troubleshoot and mess up projects.

That really sucks. I hope one of the devs sees this and does some testing to figure out whatā€™s going on.

There were some drastic changes to gamepad jogging within gSender on version 1.4.x, I went into great detail in this post a while back with some other users experiencing issues with the new jogging functionality.

You would need to tune the movement distance override setting to a value that causes the least amount of lagging for jogging on your gamepad, this varies depending on everyoneā€™s computer setup. Some users reported that 120% was a good value for them.

Please play around with the setting and let me know if you still canā€™t find an optimal value for jogging :slight_smile:

How about going back to the settings that worked perfectly in 1.2.2? Sometimes its better to leave well alone.

Who asked for this? How many user requests did you get around this feature? Was this something the community asked for or was it a neat idea that someone had? A dynamic jog is something that I personally donā€™t care about. Itā€™s one more thing to work around. I like knowing that I can set my distance to 1mm and a single push is 1mm of travel, regardless of how hard I push the joystick. If I want to move faster, Iā€™ll change the speed to rapid and move.

Make this optional, or an advanced feature, but also bring back the same kind of movement that was in 1.2.2. Iā€™ll decide if itā€™s worthwhile to use in my workflow. It might not seem like a big deal to you, but as the end user, it matters.

Downgrading to have a fundamental function restored is lazy programming. For context, Iā€™ve been in the software industry as an IC and EM for 20 years. Code is complex, and youā€™ve probably done a complete overhaul for this, but this should be an optional feature to enable.

If a joystick is held down, I expect whatever itā€™s controlling to move until I let go, not roughly when I let go. This is especially true for a CNC or laser that is being used by a lot of us to make some extra money in one way or another. Fine-tuning this to make it work is annoying and a waste of my time.

3 Likes

Well said. Change it back to what worked, or make it optional.

1 Like

Iā€™ll put it in the backlog to make this feature optional.

For the record, many users did request this feature, even if it doesnā€™t seem so.

gSender at the end of the day is an open-source project, where anyone can contribute to its development. If anyone would like the non-dynamic jogging feature an option sooner, feel free to open up a pull request on GitHub, otherwise, we will get to it when we can.

1 Like

@walid_kayhan Iā€™m sorry for jumping all over you like that. Dealing with similar situations at work that bled over to this. I forgot it was open source :man_facepalming: Iā€™ve got a local change in place to test out, so no need to have it on your backlog.

3 Likes

Iā€™m assuming I should branch off of dev, but your dev branch is ahead of and behind master. I thought that was a bit odd. If I shouldnā€™t use dev, which branch should I use? I didnā€™t see any docs about that is preferred, but I did find out that the wiki is wide open and can be edited by anyone.

1 Like

I couldnā€™t find those supporting docs either.

We donā€™t have any support docs on how to set up gSender for development at the moment but that is something weā€™re looking at for the future.

We are currently utilizing the dev branch for the new UI update we are working hard on. All bug fixes and maintenance work we do for the regular releases of gSender are done on the master branch, so you would need to branch off from that. I hope that makes sense.

Yeah, that makes sense. Normally my workflows are dev branch ā†’ master/main ā†’ dev|stage|prod environments. All good. Iā€™ll branch off master. Also happy to help test the local setup when you get to that, or if you do bug bounties.

The post was in reference to not finding any supporting docs for the ā€œmany users requesting this featureā€ (change to jogging function) which you referred to on #Post 8/14

@walid_kayhan has presented Sienciā€™s solution to the original question.

The topic has veared off subject into questions concerning who asked for the changes that have been instituted and why their requests have not been made public, neither of which are relevant to the issue.

As such, I am closing the topic.