• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wboayue / stable-flight / 38514805817
92%

Build:
DEFAULT BRANCH: main
Ran 14 Oct 2026 05:12AM UTC
Jobs 1
Files 117
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2026 05:05AM UTC coverage: 89.934% (+0.1%) from 89.803%
38514805817

push

github

web-flow
CsvRecorder in sitl; --record on copter manual (#337) (#382)

Shared per-tick CSV recorder in `stable-flight-sitl`, and `--record` on
`copter-manual-realflight` for the #337 heading-wobble check.

## Changes

- `stable_flight_sitl::recorder`: `CsvRecorder<C: Columns, W: Write>`, a
`TelemetryPublisher` writing `wall_s` plus a column set per tick, to a
file (`create`) or any writer (`new`); records nothing without one;
write failures are ignored.
- `CopterColumns`: body rates, Euler angles, altitude, moments, thrust,
attitude setpoint, stick yaw.
- `TailsitterColumns { view }`: the tailsitter examples' columns, moved
unchanged.
- `copter-manual-realflight --record <csv>` (`just fly-manual --record
flight.csv`).
- `copter-autotune-realflight`, `tailsitter-manual-realflight`,
`tailsitter-auto-realflight` use the shared recorder (about 300 lines of
copies removed). Autotune's CSV gains `armed`, `sp_*`, `stick_yaw`.
- Docs: sitl README/crate doc, root README crate index, AGENTS.md,
justfile, both changelogs.

## #337 attribution (sim)

`quad_x` in the sim: hover, then 6 diagonal tilt pulses (roll = pitch,
0.5 s on / 0.5 s off), heading setpoint fixed. Max |heading| / RMS yaw
rate:

| Attitude error | 10° | 20° | 30° |
|---|---|---|---|
| `main` (quaternion, cos-tilt-weighted heading) | 0.41° / 0.82°/s |
1.68° / 3.15°/s | 4.00° / 6.11°/s |
| weighting removed | 0.41° / 0.83°/s | 1.65° / 3.32°/s | 3.82° /
6.81°/s |
| pre-#336 per-axis Euler error | 0.42° / 0.83°/s | 1.66° / 3.35°/s |
3.85° / 7.03°/s |

#336 doesn't cause the wobble: it's the same with the pre-#336 error,
and with the weighting removed. The heading excursion grows with
diagonal tilt and predates #336.

## Testing

- `cargo test -p stable-flight-sitl recorder`: header, row shape for
every setpoint and input under both column sets,
setpoint/stick/mode/refusal fields, no writer/path, file creation and a
missing directory, failed header (error) and failed row (ignored).
`recorder.rs` 105/107 lines... (continued)

86 of 88 new or added lines in 1 file covered. (97.73%)

5477 of 6090 relevant lines covered (89.93%)

5.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.73
crates/stable-flight-sitl/src/recorder.rs
Jobs
ID Job ID Ran Files Coverage
1 38514805817.1 14 Oct 2026 05:12AM UTC 117
89.93
GitHub Action Run
Source Files on build 38514805817
  • Tree
  • List 117
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38514805817
  • 914c713a on github
  • Prev Build on main (#38509271703)
  • Next Build on main (#38573515281)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc