Hi all,
I have been building an open source workbench for small civil fleets. It builds maintenance and operations records from the flight logs operators already have. I would like feedback from people who work with ULogs every day.
What it does with a ULog:
- Reads it through pyulog and stores one flight record per log, under an aircraft key you give, in a local SQLite file. The raw log is not kept.
- Refuses a log that pyulog marks as damaged, with a one-sentence reason, and stores nothing from it. Damage pyulog cannot see is read as written, so a stored flight is not proof of a sound log. The release notes give measured numbers for this.
- Builds a per-aircraft and fleet “Draft records summary for the operator’s own review”. It sets what the tool holds against the three record keeping points of EU 2019/947 UAS.SPEC.050(1)(g): training (never held), maintenance, and operations with unusual occurrences (at most “partly”, since it holds no occurrence report written by a person). It decides nothing.
- Puts every ledger entry and flight record into a SHA-256 hash chain as it is written. If you keep the printed head outside the store, a later check reports whether the records up to that head are unchanged, not that they are true.
It also reads ArduPilot DataFlash .bin logs. It runs on your own machine: Python 3.12 or later, FastAPI, SQLite, Apache-2.0, no account.
Live demo (static, built by CI from main, which was v0.6.6 at commit c23e82a when I posted this; 7 synthetic aircraft and 2 real aircraft from public logs, each labelled): UAS Sustainment Workbench
Code and README: GitHub - tornidomaroc-web/uas-sustainment-workbench: Open-source maintenance and readiness tool for small civil unmanned aircraft fleets, driven by PX4 and ArduPilot flight logs. · GitHub
The README shows how to load your own logs into a store of their own, kept apart from the demo data.
Recent releases fixed defects found by testing damaged and crafted ULogs. The v0.6.6 notes list the seven known defects that remain; two of them carry measured figures and two more point to the figures in earlier notes. The README steps have been run by hand on Windows only (PowerShell, cmd and Git Bash). CI runs the test suite on Linux and Windows, and nothing has been run on macOS. If a line fails for you, please tell me your shell and Python version.
Honesty note: I wrote this with an AI coding assistant. Verification was done by a separate session of the same assistant, not by a human reviewer. That is one more reason I am asking here.
What would help most:
- Run it on one of your own logs and tell me what it got wrong
- Point me to log shapes from real firmware versions that you think would break it
- Tell me which records you actually keep today and which ones you never get around to
Issues are open on GitHub, and replies here are welcome too.
Thanks for reading.