sibartlett / Geo

A geospatial library for .NET
https://www.nuget.org/packages/Geo/
GNU Lesser General Public License v3.0
176 stars 39 forks source link

World magnetic model components coordinate system #52

Open Lelelo1 opened 2 years ago

Lelelo1 commented 2 years ago

Hello and thanks for this api

I am wondering about the world magnetic model components X, Y, Z. What is the coordinate system they are given in? I think I need to convert them ENU since it it is the standard in Android and iOS sensors that I am working with.

Lelelo1 commented 2 years ago

I think they are given in NED, looking at these docs: https://ahrs.readthedocs.io/en/stable/wmm.html

I also found https://github.com/mavlink/mavros/issues/49 how to swap the axises. I would preferably want to have a quaternion for it though