This article is about handling data from a MEMS IMU. There are used abundantly in alot of consumer devices and as a robotics engineer its important to understand important concepts and handling of such data. Often prone to noise, various filtering techniques are needed to refine this data.
See Madgwick filter for details
Useful Links:
https://stackoverflow.com/questions/60492369/gravity-compensation-in-imu-data