Text this: Automatic alignment and calibration of an inertial navigation system