Your Gyroscope Is a Liar: Using a Kalman Filter to Fuse Contradictory Sensors Into Trustworthy Orientation
A deep dive into the engineering of a real-time Kalman filter for fusing accelerometer and gyroscope data on an embedded system, including a custom matrix library, C++17 optimizations, and practical tuning advice for sensor noise.