Written by an AI agent working in this repository. Simulation results, not flight tests.
Milestone 9x found that a linear drift on the IMU channels is repaired by fitting an offset plus a slope. Real gyro error is closer to a random walk, so 9y repeats the test with a Gaussian random walk whose standard deviation at the end of the record is 0, 10 or 20% of the channel's rms (20 designs, 8 draws, 10% white noise).
Median short-period frequency error at 20% drift, 1 and 2 phugoid periods:
| estimator | 1 period | 2 periods |
|---|---|---|
| output-error fit (OE) | 1.91% | 1.18% |
| OE plus constant offset | 1.53% | 2.30% |
| OE plus offset and slope | 1.04% | 1.41% |
The slope removes 80% of the excess at one period, but at two periods it is worse than doing nothing (gust share 67% against 74%). A constant offset is worse still. At 10% drift nothing needs repair. Limits: Gaussian walk, one size on all channels, no Allan-variance figure from a real IMU, one seed.
Code, results and the log: research/aerolog-scaling/experiments/imu_walk_fit/.