GithubHelp home page GithubHelp logo

tborensztejn / openahrs_library Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 180.62 MB

OpenAHRS is an open-source project that provides a collection of functions for Attitude and Heading Reference System (AHRS) algorithms. The project is written in C and provides functionalities for quaternion manipulation, matrix operations, and raw sensor measurements processing.

License: MIT License

Makefile 0.75% Python 2.42% C 96.83%

openahrs_library's Introduction

OpenAHRS

Overview

OpenAHRS is an open-source project that provides a collection of functions for Attitude and Heading Reference System (AHRS) algorithms. The project is written in C and provides functionalities for quaternion manipulation, matrix operations, and raw sensor measurements processing.

Table of Contents

  • License
  • Dependencies
  • Features
  • Usage
  • Contributing
  • Authors
  • Resources
  • Acknowledgments

Licence

This project is licensed under the MIT License.

Dependencies

The project has minimal dependencies, and it is designed to be easily integrated into other projects. The code uses standard C libraries and should be compatible with various platforms.

Features

Quaternion manipulation and operations:

  • Initialization
  • Conjugation
  • Normalization
  • Multiplication
  • Conversion to rotation matrix
  • Conversion to DCM (Direct Cosine Matrix)
  • Conversion to Tait-Bryan Angles

Matrix manipulation and operations:

  • Initialization
  • Identity matrix initialization
  • Copying
  • Addition
  • Subtraction
  • Multiplication
  • Transposition
  • Inversion
  • Eigenvalues and Eigenvectors

Sensor Measurements:

  • Structures for raw gyroscope, accelerometer, and magnetometer measurements

Various filter, sensor fusion and orientation/attitude estimator algorithms:

  • AR (Angular Rate) based on Taylor series interpolation (Tested)
  • AQUA - Algebraic Quaternion Algorithm (Tested)
  • Davenport - Davenport's Q Method (Tested)
  • FAMC - Fast Accelerometer-Magnetometer Combination (Tested)

Future algorithms:

  • FLAE - Fast Linear Attitude Estimator
  • EKF - Extended Kalman Filter
  • FNAE - Fourati’s Nonlinear Attitude Estimation)
  • FQA - Factored Quaternion Algorithm
  • MOF - Madgwick's Orientation Filter
  • MOF2 - Mahony's Orientation Filter
  • OLEQ - Optimal Linear Estimator of Quaternion
  • QUEST - Quaternion Estimator
  • MEKF - Multiplicative Extended Kalman Filter
  • IEKF - Invariant Extended Kalman Filter
  • EF - Equivariant Filter
  • PF - Particle Filter (Euler angles, DCM and quaternion)
  • VQF - Versatile Quaternion-based Filter

Usage

To use OpenAHRS in your project, include the necessary header files in your source code. For more details on function usage, refer to the individual header files in the source code.

Contributing

Contributions are welcome! If you would like to contribute to the project, please contact me.

Author

I'm Titouan BORENSZTEJN (french mechatronic engineer). You can contact me for any information about this project at [email protected] or [email protected]

Resources

All the scientific and technical documentation and other resources are available with the project. However, some errors are hidden in the documents, often due to a lack of proofreading. The errors I have found are corrected in the PDF files. If you find any others, please share them. Thank you for your contribution.

Acknowledgments

Special thanks to the open-source community and contributors for their valuable contributions.

openahrs_library's People

Contributors

tborensztejn avatar

Stargazers

 avatar Ethan Anderson avatar Andrii Yaremych avatar Josh Mills avatar  avatar Giovani Hidalgo Ceotto avatar Gui-FernandesBR avatar Aasit Vora avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.