SpeedcuberOSS / speedcuber-timer

The smart, offline-ready speedcubing Android/iOS app made for speedcubers, by speedcubers.
Mozilla Public License 2.0
3 stars 0 forks source link

Fast `M` slice turns occasionally result in dropped moves #84

Open thehale opened 1 year ago

thehale commented 1 year ago

For example, sometimes after doing an H permutation (M2 U' M2 U2 M2 U' M2) especially quickly, one of the R/L layers appears rotated incorrectly on the virtual cube.

The issue appears to be the result of the fact that an M turn comes from the smartcube as R L', so sending those moves in quick succession may cause a race condition of sorts on the twisty player.

We'll need some way to debounce the moves, convert to an M directly, create a synchronized queue, or something else...