Skip to content

Real time EKF Attitude Estimation for Simulink

Notifications You must be signed in to change notification settings

BITNKer/SimulinkEKFAttitude

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

SimulinkEKFAttitude

Real time EKF Attitude Estimation for Simulink

Using the attached Simulink Model, You can use real time Acceleromter, Gyroscope, Magnetometer from any source you have to estimate the euler angles of your device. Extended Kalman Filter (EKF) is being used which is commonly used in UAVs and many flight controllers e.g. Pixhawk.

Inputs:

  • Accelerometer data should be m/s
  • Gyroscope data should be rad/s
  • Magnetometer data should be ut
  • dt (time step) can be either a fixed step time or variable (in secounds)

Outputs:

  • Euler Angles Roll,Pitch,Heading (Yaw) in Radians

*** Remember to add the path to AHRS-master folders and subfolders in your matlab setting.

Soon I will publish a demonstration Video as well.

View SimulinkEKFAttitude on File Exchange


I used the project "Attitude and Heading Reference System using MATLAB as simple as possible" in github for the algorithm link: https://github.com/raimapo/AHRS

About

Real time EKF Attitude Estimation for Simulink

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • MATLAB 99.8%
  • M 0.2%