Systems and methods may provide for obtaining first sensor data associated with a gyroscope and obtaining second sensor data associated with a magnetometer. Additionally, the first sensor data, the second sensor data and an extended Kalman filter may be used to calibrate the magnetometer. In one example, a sampling rate of the magnetometer is increased before obtaining the second sensor data and the sampling rate of the magnetometer is decreased after calibration of the magnetometer.
展开▼