morgil / madgwick_py

A Python implementation of Madgwick's IMU and AHRS algorithm.
GNU Lesser General Public License v3.0
178 stars 60 forks source link

What are the right measurement units for accelerometer and magnetometer data? #1

Closed mohataher closed 7 years ago

mohataher commented 7 years ago

What's the right measurement units for accelerometer and magnetometer data? It's mentioned that gyroscope data should be in radians per seconds. How about others?

An example would be great. Thanks for the repo.

morgil commented 7 years ago

The accelerometer and magnetometer units do not matter, as they will be normalized to 1. I have added this to the docstring, thank you for the suggestion.