This repository contains the implementation of the OC-MAINS algorithm for the paper An Observability-Constrained Magnetic-Field-Aided Inertial Navigation System. The algorithm aims to solve the inconsistent estimate of the yaw in the MAINS.
Run main_simulation.m
to see the results of the simulation.
Run main_realexp.m
to see the results of the real data experiment.