You are reading a single comment by @myownself and its replies.
Click here to read the full conversation.
-
I spent a significant part of my evening reading through that website. Thanks @jeffmer.
I spent a significant part of my evening reading through that website. Thanks @jeffmer.
The problem of removing the static accelerometer magnitude would seem to be the same as DC removal in Digital Signal Processing. The problem with a simple moving average is that it may obscure the signal at some orientations if as seems likely the magnitude at rest varies due to rotation. There is a great article here on a low cost very simple digital filter to deal with this - it even lists a 3-line Javascript implementation.