Repository navigation
PJ3/v0.2.0
PJ3 v0.2.0
Feature release for the DataLoadArdupilot plugin. The loader now runs on the shared pj_drone::core library (also used by the PJ4 plugin), which brings UTC timestamps, flight mode names, string fields, safer embedded-file export and a more robust parser to PlotJuggler 3.
Breaking changes
- DataLoadArdupilot: UTC time axis for logs with GPS time (#39)
- When the log has a valid GPS time (the first
GPSrow with a 3D fix, a non-zeroGWkand aGMSinside the week), all timestamps are UTC seconds since the Unix epoch instead of seconds since boot. Leap seconds in force on the log's date are applied. Logs without a valid GPS row keep the boot clock. - Layouts or saved files that rely on boot-relative time on such logs are affected.
- When the log has a valid GPS time (the first
- DataLoadArdupilot: embedded files are streamed on export (#28)
- File content is no longer assembled in memory while the log is scanned; it is built only on export and written straight to disk.
- A file with chunks missing in the middle is flagged and not exported, instead of being padded with zeros.
- The repository is now licensed under MIT (previously MPL-2.0) (#16).
Features
- DataLoadArdupilot: string fields of log messages are delivered as string series (previously dropped) (#34).
- DataLoadArdupilot:
ModeNameseries (#36)MODEgets a string series with the flight mode as text (e.g.LOITER).- The vehicle type comes from
VER.BU, thenVER.FWS, then the firmware banner inMSG. A mode with no name, an unknown vehicle, or sources that disagree givesUnknown(<number>). - PJ3 uses the built-in names; the custom mode-name file is only available in PJ4.
- DataLoadArdupilot: Embedded Files tab (#28)
- New Data and Status columns show how many bytes are actually present in the log and whether the file is complete.
- Export asks whether to overwrite or skip when the target folder already contains a file with the same name.
- Export verifies a SHA-256 taken at scan time and refuses a log that changed or was truncated in between.
Security
- Embedded file names are validated before export (absolute or drive-relative paths,
.., reserved or invalid characters, Windows device names, symbolic links leaving the chosen folder). Unsafe names are reported, not written (#28). - Embedded file names are shown and exported as printable ASCII; every other byte (and
%) is percent-encoded, soa\xFF.luabecomesa%FF.lua. Several files resolving to the same export path are all reported instead of overwriting each other (#28).
Fixes
- DataLoadArdupilot: a corrupt record (unknown message id or impossible length) no longer ends the import; the parser resynchronizes on the next header and keeps the rest of the log (#29).
- DataLoadArdupilot: message id 0 is no longer mistaken for an undefined
UNIT/MULT/FMTU/FILEmessage (#29). - DataLoadArdupilot: a topic or field the host rejects, or a
FMTlabel repeated with the same type, now only drops that group or column instead of failing the whole import (#29). - DataLoadArdupilot: the
Instlabel is accepted as the instance field of multi-instance messages (#42).
Repository / Build / CI
- The PJ3 loader is ported onto the shared
pj_drone::core(pure C++17, no Qt or PlotJuggler SDK);ardupilot_parser.*is removed (#33). - Added
coreunit tests. Build with-DPJ_BUILD_TESTS=ON -DVCPKG_MANIFEST_FEATURES=tests(the newtestsfeature invcpkg.jsoninstalls GTest); seepj3/docs/develop.md. - Removed the unused
PluginTemplate. - Added format, PJ3 and PJ4 pull request workflows (#35).
- Added issue templates and refreshed the README (#16).
pj3/vcpkg.jsonversion bumped to 0.2.0.
Full Changelog: pj3-v0.1.1...pj3-v0.2.0