10
2
Fork 0

digital-filters: fix fucky wuckies

This commit is contained in:
Erin Moon 2020-05-25 22:01:46 -05:00
parent 94d485462b
commit 3b31da88c8
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Attitude Adjustment
# Digital Filters, Meh
**Category**: Astronomy, Astrophysics, Astrometry, Astrodynamics, AAAA
**Points (final)**: 69 points
**Solves**: 62
**Points (final)**: 104 points
**Solves**: 37
@ -15,7 +15,7 @@
## Writeup
by [erin (`barzamin`)](https://imer.in).
As part of this challenge, we're given a file `src.tar.gz` by the scoreboard. This contains Octave code (humorously, almost MATLAB-compatible, but uses incompatible `endfunction` tokens) which simulates the satellite kinetics and control loop, and, presumably, is what's running on the challenge server.
As part of this challenge, we're given a file `src.tar.gz` by the scoreboard. This contains Octave code which simulates the satellite kinetics and control loop, and, presumably, is what's running on the challenge server.
Digging into the main file, `challenge.m`, we note a few interesting things. The satellite is running a Kalman filter on the gyroscope data (velocity and acceleration) and star tracker orientation data. Near the start of each control system iteration, there's a check on the Kalman filter error; if greater than a threshold, the controller crashes out:
```{.matlab}