Magnetometer values coupled with changes in Altitude?

Whenever I am reading my compass values from the magnetometer and I increase / decrease altitude the heading angle seems to change correspondingly. Is this supposed to happen? Is there I a way I could account for this?

Thanks!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity