aster94 / SensorFusion

A simple implementation of some complex Sensor Fusion algorithms
GNU General Public License v3.0
199 stars 41 forks source link

Added function to initialize the Quaternions #9

Closed jonasBoss closed 3 years ago

jonasBoss commented 3 years ago

initQuat() will calculate initial quaternion values based of magnetometer and accelerometer measurements. This can be useful to reduce the initial error of the fusion algorithm.

aster94 commented 3 years ago

nice code, but i would like to maintain the code clean without print statement

jonasBoss commented 3 years ago

I removed them, I missed those when cleaning up all my debugging statements.

aster94 commented 3 years ago

Thanks for the PR, nice code