You are reading a single comment by @jeffmer and its replies. Click here to read the full conversation.
  • 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.

About

Avatar for jeffmer @jeffmer started