Attitude Heading Reference System using Kalman Filter
Version 1.0.1 (832 KB) by Farhan Ahamed
In this project, I have developed an AHRS with Linear Kalman Filter. A clear documentation on how I built it is given as a blog.
Updated 14 Aug 2022
This project will help you understand on how to intuitively develop a sensor fusion algorithm using linear kalman filter that estimates Roll, Pitch and Yaw of the vehicle with accelerometer, gyroscope and magnetometer as sensor inputs. The sensor data is used from a smartphone using MATLAB Support Package for Android Sensors. Realtime sensor fusion is also possible using this algorithm.
Check out the complete documentation:
Farhan Ahamed (2023). Attitude Heading Reference System using Kalman Filter (https://www.mathworks.com/matlabcentral/fileexchange/116295-attitude-heading-reference-system-using-kalman-filter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with R2021b
Compatible with R2017b and later releases
Platform CompatibilityWindows macOS Linux
Inspired by: Smart Phone AHRS
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.