Guidance, Navigation and Control · Aided Navigation and Attitude Determination · M7-L2 · Advanced
Two Vectors, One Attitude
Bench log · Hopper on the test range
06:30. A small satellite has a Sun sensor accurate to 0.05 degrees and a magnetometer accurate to a degree. The attitude solution is excellent in some parts of the orbit and wanders by tens of degrees in others, and the flight software has TRIAD with the magnetometer as the primary vector because it was written first.
You will see what the geometry does, rewrite TRIAD, and write the weighted solution that uses both sensors properly.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python 3 with the standard library and the course library gnckit (import gnckit as g: transfer functions and margins, state space and LQR, the Hopper model, quaternions, a convex solver). NumPy is not available in the browser. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.