Open tpreynolds opened 6 years ago
Gonna add the following EKF tests to this issue. I called this a "stress test" for SGP4, and you can use a similar set up for this test:
Test all logic conditions in the EKF, make sure we are not updating when: -- gyro invalid -- sun invalid -- mag invalid -- eclipse -- MTs drawing too much power
Should I do this in C or in Simulink?
Sorry I didn't see this comment, but Simulink. Let's get the library done so we can autocode and see if it fits on a 430; then decide from there whats the best way to proceed.
State estimation library is done, writing the stress test now.
Envelop EKF and TRIAD into a single state-estimation library block that has internal logic that switches from the TRIAD to the EKF once it has converged. The TRIAD and EKF should run in parallel always, and the EKF should switch to TRIAD in the event of gyro failure.