Deciding whether to disable magnetometer fusion indoors
Steel framing, power busbars, and heavy forklifts distort indoor magnetic fields, causing sudden heading jumps when a robot passes electrical panels.
How to test it
Walk the robot along its main path while logging magnetic field magnitude and yaw output. If local distortion exceeds bounds, disable magnetometer yaw and rely on gyro plus external localization.

ZHILIANHAI