- I want to monitor the orientation of a device on 2 axis: very simply: which way is down.
- It must maintain accuracy over extended time period (12 hours)
- It will be subject to rotations and accelerations about all axes
The device will be an Android phone with standard gyroscope / accelerometer. With those two sensor types, is it possible to satisfy the above requirements?
My thoughts so far: An accelerometer alone cannot achieve this, since given any set of values for an instant in time, it is not possible to separate the gravitational and spacial acceleration components. And I can't get my head round how a gyroscope could help resolve that. Are there any clever formulas / algorithms which would manage this?
Thanks