- #1
mark2468
- 12
- 0
Hi.
I was wondering if it is possible to remove the 1g (sqrt(x^2+y^2+z^2)) from an accelerometer when in static positions.
When the device is tilted to different positions the total g-force does not equal 1 and differs quite a bit from position to position.
I would like to be able to have the device at a particular angle which gives a reading of 0,0,0 as the device is static (angle not important) and when linear acceleration is experienced thay it just shows on the relevant axis.
Is there a formula that can achieve this?
thanks.
I was wondering if it is possible to remove the 1g (sqrt(x^2+y^2+z^2)) from an accelerometer when in static positions.
When the device is tilted to different positions the total g-force does not equal 1 and differs quite a bit from position to position.
I would like to be able to have the device at a particular angle which gives a reading of 0,0,0 as the device is static (angle not important) and when linear acceleration is experienced thay it just shows on the relevant axis.
Is there a formula that can achieve this?
thanks.