Because of the application scenarios diversity, the electromagnetic environments are different, therefore the openimu300 magnetometer sensor should be calibrate accordingly. For instance, user could calibrate magnetometer sensor in application INS/VG-AHAS downloading from aceinna VS code example.
User could do mag calibration following the instructions through openimu300 user serial interface:
Mag Align Commands:
55 55 6D 61 01 00 F1 2E – Mag-Align Status
55 55 6D 61 01 01 E1 0F – Start Mag-Align (autoend)
55 55 6D 61 01 02 D1 6C – Start Mag-Align (w/o autoend)
55 55 6D 61 01 03 C1 4D – Stop Mag-Align (w/o autoend)
55 55 6D 61 01 04 B1 AA – Accept Mag-Align Results (temp)
55 55 6D 61 01 05 A1 8B – Accept Mag-Align Results (write to eeprom)
55 55 6D 61 01 06 91 E8 – Abort Mag-Align
55 55 6D 61 01 07 81 C9 – Get stored values
55 55 6D 61 01 08 70 26 – Restore Mag-Align Defaults