Originally Posted by chiloschista
I'm a little bit confused by your answer.
In what I know the accelerometer, assuming it is a 3 axis one, should know the attitude of the quad, referred to earth reference (gravity). I assume it is then a matter of coding. The code should compare the quad attitude with gravity and command the quad to correct its attitude.
Say the accelerometer is detecting forces on more than one axis at the same time, how is it supposed to know which one is gravity?