Skip to content

CK-Explorer/Magnetometer-and-Accelerometer-Calibration

Repository files navigation

🌟 Magnetometer and Accelerometer Calibration

🤖 Brief Description

The algorithm implemented in this project minimizes the following problems in both accelerometer and magnetometer:

  • For each sensor:
    • The non-orthoganality of all axes,
    • Different scale factors of all axes,
    • Centre biases.
  • For magnetometer (when used with accelerometer):
    • Misalignment of three magnetometer's axes from three accelerometer's axes respectively.

After calibration, both sensors' readings should fit on the surface of spheres with their centres at the origin, but not on ellipsoids, like in the figure above.

All the mathematical details involved in this algorithm are available in this pdf.

🧰 Getting Started

‼️ Dependencies

🏃 Using the library

🧪 Examples

📜 Version History

  • 1.0.0
    • Initial Release

⚠️ License

This project is licensed under the Apache-2.0 license - see the LICENSE file for details.

About

Calibration algorithm implemented in MATLAB and C++.

Resources

License

Stars

Watchers

Forks