Attitude and heading reference system (AHRS) implementations.
Originally published in 2010 by Sebastian O.H. Madgwick, it offers an efficient orientation filter for IMU and MARG sensor data.
The Toit implementation is a port of the C and C# implementations.