I hope this stack is the right place for this question. I have an accelerometer mounted securely on a swaying object -lets say a stick or pole- this object is swinging back and forth in small angles (+- 20) with a frequency of about 2-3 times a second. Im using the accelerometer output to calculate the tilt of the object, however since the frequency of the swings is relatively high the accelerometer readings are very high as well, and not reliable for calculating the tilt.
from my research i have seen that accelerometers work best in a stable environment. Is there any way to improve the reliability of my accelerometer output in this setup?