C++

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.

Intermediate
20 minutes
Apr 16, 2026

10 Milliseconds or Failure: Architecting a Real-Time Sensor Pipeline Across Two Threads Without Locking Up the UI

A deep dive into the engineering of a real-time IMU processing pipeline that runs on a worker thread while communicating with a Qt Quick UI on the main thread. Learn how to use `std::atomic` for lock-free shutdown signaling, Qt's queued signals for cross-thread communication, and self-correcting timing loops to maintain a 100 Hz sample rate without ever blocking the UI thread.

Advanced
31 minutes
Apr 20, 2026
    Ask me anything!