Hey guys,
I'm trying to find some Monkey C code, that uses the accelerometer and magnetometer, to output a gravity axis accelerometer reading.
Basically - what I'm trying to do is go from an array of readings saved of the acceleration in the gravity axis only..... and then apply maths to calculate vertical displacement.
This does not need to occur realtime, and could occur after the event, or even at the end of the session.
My constraints are that - the orientation of the watch is not fixed, and there is another acceleration vector ( total of 2 with Gravity being one )
The other acceleration vector opposes gravity all the time, but not directly - ie it is some angle off , that could be up to say 89 degrees if you could imagine that, so only 1% is opposed to gravity and the other 89% will be horizontal reference the earth acceleration, it could be 100% opposed, and the magnitude varies. up to say 4G.
I don't need to know the heading / the position / the pitch / roll / yaw....... just the component of the other force that is opposing gravity.
Any ideas?