Skip to content

feat(ardupilot): add log message descriptions and units as curve-list tooltips - #46

Merged
RickyWu18 merged 6 commits into
masterfrom
feat/ardupilot-log-metadata
Nov 29, 2026
Merged

RickyWu18 merged 6 commits into
masterfrom
feat/ardupilot-log-metadata

Conversation

@RickyWu18

Copy link
Copy Markdown
Owner

Summary

Adds built-in ArduPilot log message metadata (Copter, Plane, Rover, Sub) so each message and field shows its description and unit as a tooltip in the curve/dataset list. PJ4 also accepts a user-supplied LogMessages.json/.xml to override the built-in descriptions. The "Append units to series names" option is removed, because units now appear in the tooltip instead.

Target PlotJuggler version

  • PJ3 (pj3/)
  • PJ4 (pj4/)
  • Both / shared (3rdparty/, docs/, root files)

Plugin(s) affected

  • DataStreamMavlink
  • DataLoadArdupilot
  • Shared / build / CI
  • New plugin

Type of change

  • feat — new feature
  • fix — bug fix
  • refactor — no behavior change
  • docs — documentation only
  • build — CMake / vcpkg / CI

Breaking changes

  • The "Append units to series names" option and its show_units config key are removed (PJ3 and PJ4). Series names are now always the plain field name (Roll, not Roll(deg)). A saved show_units is ignored. Layouts that refer to Roll(deg)-style names must be updated.
  • pj4/SDK_VERSION goes from 0.34.1 to 1.2.0 (field and topic metadata). min_sdk_required is unchanged, so a host without the metadata slots still loads the log, only without descriptions.

Testing

  • Added unit tests: core/tests/log_metadata_test.cpp, pj4/plugins/data_load_ardupilot/tests/log_metadata_test.cpp and tests/host_sink_test.cpp.
  • Manually test on Window 11 for PJ3 and PJ4 version.

@RickyWu18
RickyWu18 merged commit 100e0c5 into master Nov 29, 2026
7 checks passed
@RickyWu18
RickyWu18 deleted the feat/ardupilot-log-metadata branch November 29, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant