Madgwick
Madgwick refers to a real-time orientation estimation algorithm commonly known as the Madgwick filter or Madgwick’s AHRS filter. It is used to fuse data from inertial measurement units, combining gyroscope, accelerometer, and magnetometer measurements to estimate three-dimensional orientation in quaternion form. The algorithm was developed by Sebastian O. Madgwick in the early 2010s and has since become widely used in both research and hobbyist projects due to its computational efficiency and suitability for embedded systems.
The Madgwick filter operates by integrating gyroscope data to update orientation and then applying a gradient-descent
Open-source implementations are readily available in multiple programming languages and platforms, including C, C++, MATLAB, Python,
Limitations include sensitivity to magnetometer disturbances and the need for proper calibration of both accelerometer and
See also: Attitude estimation, quaternion, IMU, Kalman filter.