Demo: using moving average and motion controls
-
Hi,
I while back I did some experimenting using a moving average to smooth out the jitter you get when using motion controls. I meant to share it, but sort of forgot. Moving average means continously taking the reading of the last few (50 in this case) samples and calculating an average for them...
So, in this demo you can control the hand pointer using the right joy-con. To calibrate it, hold down X, point it to the screen, and then release X again.
ID:
NX2F5EMD5C
Feel free to use this in any of your own projects.