Skip to content

Estimate AHRS attitude with EKF, ESKF and Mahony filter.

License

Notifications You must be signed in to change notification settings

June-cy/IMU_Attitude_Estimator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMU_Attitude_Estimator

This project is aimed at estimating the attitude of Attitude Heading and Reference System(AHRS). And the project contains three popular attitude estimator algorithms.

  • Mahony's algorithm
  • Extend Kalman Filter(EKF)
  • Error State Kalman Filter(ESKF)

DataSets.py for converting estimator data.
Allan_Analysis for Allan Variance analysis.

Refrence

[1] Mahony R, Hamel T, Pflimlin J M. Nonlinear complementary filters on the special orthogonal group[J]. IEEE Transactions on automatic control, 2008, 53(5): 1203-1218.
[2] Pixhawk state estimation
[3] Solà, Joan. Quaternion kinematics for the error-state Kalman filter[J]. 2017.
[4] Trawny N, Roumeliotis S I. Indirect Kalman Filter for 3D Attitude Estimation[J]. 2005.

Dependencies

  • Eigen3.2.0
  • glog
sudo apt-get install libgoogle-glog-dev

Simple Test

Simple comparision among three methods. And the params of Mahony filter can be further tuned.

About

Estimate AHRS attitude with EKF, ESKF and Mahony filter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.5%
  • CMake 13.8%
  • Python 1.7%