I am using the accelerometer data obtained from the MPU6050 for position estimation. I have attached an image of the distance graphs obtained from the collected data when the object is not moving. I've learned that this happens due to the noise appearing in the accelorometer data.
I have used a moving average filter to filter the data but couldn't get correct position data when the sensor is not moving.
Anyone familiar with this matter? Please guide me to overcome this problem.