Labsmore / pyuscope

Python machine vision platform
BSD 2-Clause "Simplified" License
80 stars 17 forks source link

joystick: provide a way for user to adjust sensitivity #288

Closed JohnDMcMaster closed 11 months ago

JohnDMcMaster commented 1 year ago

Maybe sliders in the GUI? something you can set and then save

nsfm commented 1 year ago

Not sure what kind of joystick you are working with, and this use case is probably not the most relevant, but maybe you will find this interesting...

I was working on a similar project last year, using a microscope rigged up to a Marlin CNC device with a PS5 dualsense controller. For my project I need to constantly alternate between fast jogging to locate objects and fine movement to manipulate them. Ultimately I factored the analog trigger positions into the top speed, with the right trigger acting like an accelerator and the left trigger acting as a brake. Full pull on the right trigger multiplied velocity by up to 80x, and the left divided it by up to 80x. Felt really natural, lots of fun too.

Just wanted to share the thought. This project is awesome, looking forward to keeping up with it 😄