logickworkshop / du-ino

DU-INO Arduino library.
BSD 3-Clause "New" or "Revised" License
56 stars 5 forks source link

Rotary encoder jitter #12

Open jchodakowski opened 2 years ago

jchodakowski commented 2 years ago

Having issues in PLSR as I try to make pattern adjustments. As I move frame to frame, occasionally an extension in the flex of the controller will cause the frame I'm on to jump to an adjacent frame.

The problem is intermittent. There are times where it's very hard to the issue and then other times when it's all you can do to work in one place without the frame jumping.

ezod commented 2 years ago

I've noticed some (intermittent?) issues with the encoder as well, in terms of getting a 1:1 between the physical detents and the value changes when you're just trying to move around on something like the PLSR. This is probably related to the "acceleration" stuff in the encoder, which is perhaps handy for quickly changing values with a large range, but not so much for fine adjustments. We can probably make this less aggressive or disable it entirely (maybe just for some states?). The code lives in du-ino_encoder.cpp if anyone wants to try.