I have successfully compensated the gravity from the IMU I am using through the use of madgwick filter. However, the result of linear acceleration comes out rather noisy with a high spike in between readings. Is there any filter or method I can use to filter my linear acceleration so that can better make use of the data to obtain velocity and displacement ?
Thank you!