ULog + MAVLink workflows
Offline log browsing and live telemetry share one spectra-px4 plot stack.
Standalone spectra-px4 binary for GPU-accelerated
PX4 autopilot visualization — offline ULog browsing and live MAVLink
telemetry in a single window.
Offline log browsing and live telemetry share one spectra-px4 plot stack.
.ulg flight logs directlyThe PX4 adapter is enabled by default when its dependencies are present.
cmake -B build -DSPECTRA_USE_PX4=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build --target spectra-px4 -j$(nproc)
./build/spectra-px4 --help
-DSPECTRA_USE_PX4=OFF to skip building the adapter and its
bundled ULog reader / MAVLink message definitions.
| Flag | Description | Default |
|---|---|---|
--ulog FILE | Open a ULog file on launch | — |
--host HOST | MAVLink UDP host | 127.0.0.1 |
--port PORT | MAVLink UDP port | 14540 |
--connect | Auto-connect to MAVLink on launch | off |
--window-s SEC | Real-time scrolling window length | 30 |
--chunked | Use chunked line series (large logs) | off |
--budget BYTES | Memory budget for chunked series (0 = unlimited) | 0 |
# Open a single log file
./build/spectra-px4 flight.ulg
# Large log with bounded memory (~512 MB)
./build/spectra-px4 --chunked --budget 536870912 long_flight.ulg
# Auto-connect to PX4 SITL on default UDP port
./build/spectra-px4 --connect --port 14540
# Connect to a remote autopilot
./build/spectra-px4 --connect --host 192.168.1.42 --port 14550
# Open a reference log and connect live for comparison
./build/spectra-px4 --ulog reference.ulg --connect
Browse the topic tree of an opened ULog. Expand a topic, drag a field onto any axes, and Spectra creates a series automatically.
Manage the MAVLink UDP link — connect, disconnect, change host / port, and see the per-topic message rate.
One-click presets for common PX4 telemetry: IMU accel / gyro, attitude (roll / pitch / yaw), GPS position, motor outputs.
Docking, command palette, undo / redo, timeline, recording,
themes, and workspace save / load all work in spectra-px4.