Text this: Simultaneous spacecraft attitude and orbit estimation using magnetic field vector measurements