I’m trying to takeoff with a multirotor from a metal platform that causes magnetic interference to the compass.
I can see a difference of ~20degrees azimuth from what it should be on the ground.
EK3_MAG_CAL is set to 3
EK3_MAG_CAL = 3 uses heading fusion on the ground and 3-axis fusion after the first in-air field and yaw reset has completed, and is the default for copters.
Is there an option to set the heading manually (The UAV takeoff azimuth is fixed) before takeoff, ignore the compass, and use it only after takeoff?
Or, there is any other way to overcome this issue?