# Accelerometer vs. Gravity and LinearAcceleration

Hi,

What is the difference between the accelerometer and the gravity/linearAcceleration data?

Should it not be the same thing but for different axes?

The same question goes for gyroscope data and Euler angles: the Euler angles are just the measure of the integral gyroscope change in time?

Am I missing something here?

Thanks!

Omri

## Comments

Accelerometer data is composed of both gravity and linear acceleration.

Yes but gyroscopes are noisy. Using only gyroscope data to approximate orientation will result in noticeable errors.