Mayitzin / ahrs

Attitude and Heading Reference Systems in Python
https://ahrs.readthedocs.io/
MIT License
564 stars 89 forks source link

Error in Munich information? #42

Closed ogreyesp closed 3 years ago

ogreyesp commented 3 years ago

Hi

First of all, thanks for this amazing and helpful library.

In EKF filter, you are using the Munich information in case the magnetic reference is not provided. You are constructing a magnetic model as follows

image

However, according to the WMM class, the height should be in kilometres, but you have defined the MUNICH_HEIGHT in meters.

image

Is it a bug?

Best regards

Mayitzin commented 3 years ago

Hi! You're right. The height was wrongly represented in km. It should be 0.519. It was corrected with the commit 462d81f35125abddf129ca850dedb17ac8a2b5fa

Thanks for pointing that out.