Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuttering movement using game controller #522

Open
uzadow opened this issue Jun 17, 2024 · 5 comments
Open

Stuttering movement using game controller #522

uzadow opened this issue Jun 17, 2024 · 5 comments

Comments

@uzadow
Copy link

uzadow commented Jun 17, 2024

I get stuttering/jerking movement when using a game controller that essentially makes jogging unusable.

Setup: Raspberry Pi, gSender 1.4.7, noname ('shanwan') USB playstation controller.

This worked with a gSender 1.2.2 install - updating to a current Pi OS and gSender broke it.

Any help debugging this would be appreciated, and I'm happy to provide more information if needed :-). Also happy to provide a video of the symptoms if that helps.

@Ezekiel-DA
Copy link

Seconding this, but on Windows. Also gSender 1.4.7. Have not tried previous version (this is what I started with since I just got my Longmill MK2 a month or so back), happy to try earlier version is that is helpful for debugging.

@uzadow
Copy link
Author

uzadow commented Jun 23, 2024

Here's a video of the stepper motor movement - hope that helps.

Downgrading to 1.2.2 fixed this on my end. Still happy to help debug this :-).

PXL_20240617_085959076.mov

@hamanjam
Copy link

hamanjam commented Jun 24, 2024

My Logitech wireless F710 does the same thing. Keyboard ardor shortcuts are fine, just the gamepad stutters bit I believe that has happened in the 1.4.x release. I rarely use the gamepad so it wasn't critical for me to look into anything https://github.com/Sienci-Labs/gsender/assets/45050113/893af968-af7c-40c9-9e94-14f6ba51470c

@walidkayhan
Copy link
Member

For versions 1.4.x, we drastically changed how jogging works with gamepads on gSender. One of the new features we added is dynamic jogging, where the speed is dependant on how far you push the thumb sticks on your controller. This can lead to a stuttering affect as we aren't able to send a single long jog command like we did before, but instead have to send many small jog movements one after another.

If you want to eliminate the stuttering, you can play around with the movement distance override setting in your gamepad profile within the settings.

Screenshot 2024-07-09 at 11 27 08 AM

Some users reported setting it to 120% or 150% helped get rid of the jog stuttering on their end but you would need to experiment with it to see which value works best for you :)

@uzadow
Copy link
Author

uzadow commented Jul 12, 2024

Thanks for your support!

I've tried this now. The stuttering is less at 150% and mostly (but not completely) disappears at 500%. But now, there is an additional issue: If I jog in one direction (e.g., left), stop, and then move in the opposite direction (e.g., right), the movement is sometimes left, stop, then left again, then right.

I've reverted to the old SD card again, but I'm happy to do more tests if it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants