IMU_magnetometer Magnetometer Calibration using MPU9250 This Sketch is used to fetch magnetometer x,y and z values from the registers and calculate the angular deviation of the IMU from the respective axis.