Updated 2026-11-28 · 7 min read
All Compliance Guides
Local Parse <= 100 MB · Python pyulog / pymavlink Parity (0.00%–0.04% Delta)

ArduPilot (.BIN) & PX4 (.ULG) Flight Log Audit Guide: Sag, IMU & Custody

Summary Specification · ArduPilot .BIN & PX4 .ULG

Auditing ArduPilot (.BIN) and PX4 (.ULG/.ULOG) black-box logs prevents in-flight power brownouts and EKF attitude failures before dispatch. Commercial flight engineering teams screen three quantitative thresholds after every flight—minimum loaded battery voltage per cell (>= 3.30 V/cell across 3S–14S packs), 3-axis IMU vibration acceleration (<= 30.0 m/s²), and zero accelerometer clip events—then lock dispatch whenever an aircraft exceeds limits and record a WebCrypto SHA-256 custody hash of the binary file.

Key Engineering Takeaways

  • Decode raw binary logs locally up to 100 MB using deterministic ArduPilot FMT/BAT/VIBE/GPS and PX4 ULog topic parsers—never rely on uncalibrated summary screenshots.
  • Separate total log span, armed time, motor running duration, and airborne time instead of mixing bench-test power-on minutes into flight endurance metrics.
  • Flag loaded LiPo cell sag below 3.30 V/cell, peak 3-axis vibration above 30.0 m/s², and any IMU clipping count > 0 before clearing the next takeoff.
  • Embed WebCrypto SHA-256 file custody hashes onto compliance reports while explicitly documenting that SHA-256 proves byte identity, not physical bench sensor calibration.

Quantitative Airworthiness Screening Bounds Across .BIN & .ULG Streams

Loaded Cell Voltage Floor
ArduPilot .BIN / PX4 .ULG Source: `BAT` / `CURR` (ArduPilot) · `battery_status` (PX4) across 3S–14S cell counts
UAVComply Grounding Gate: Auto-grounds aircraft (`HTTP 409`) if loaded cell floor drops below `3.30 V/cell`.
3-Axis IMU Peak Vibration
ArduPilot .BIN / PX4 .ULG Source: `VIBE` (`VibeX/Y/Z`, `Clip0/1/2`) · `vehicle_imu_status` / `sensor_accel`
UAVComply Grounding Gate: Flags airframe defect whenever peak magnitude exceeds `30.0 m/s²` or `clipEvents > 0`.
Duration & Sensor Honesty
ArduPilot .BIN / PX4 .ULG Source: `MODE` / `ATT` / `GPS` · `vehicle_status` / `vehicle_gps_position`
UAVComply Grounding Gate: Separates armed vs. airborne duration and displays absent streams honestly without zero-filling.
Cryptographic Byte Custody
ArduPilot .BIN / PX4 .ULG Source: Raw binary buffer (`<= 100 MB` local WebCrypto SHA-256 digest)
UAVComply Grounding Gate: Deduplicates duplicate SD-card uploads via SHA-256 idempotency and powers `/verify/[id]` QR checks.

1. Why Manual Mission Planner / QGroundControl Plot Inspection Fails at Scale

Opening 40–100 MB binary flight logs one by one in desktop plotters works for a single prototype test flight, but breaks down quickly across commercial crews or university labs running dozens of sorties per week. Pilots forget which pack sagged during climb-out, or accidentally dispatch a hexacopter whose IMU isolated damper began tearing after a hard landing.

UAVComply parses your binary logs deterministically in under 5 seconds directly in your browser (matched within 0.00%–0.04% of Python `pyulog` and `pymavlink` ground-truth oracles) and immediately locks airframe dispatch via server-enforced HTTP 409 gates until a Maintenance Technician or Chief Pilot resolves the ticket.

2. Sensor Honesty, SHA-256 Idempotency & Verification Portals

Two subtle engineering bugs ruin regulatory audit credibility: zero-filling missing sensor channels (for example reporting 0 V when a power module failed to log) and hashing post-processed JSON rather than the original flight binary.

UAVComply preserves absent channels explicitly as unrecorded and hashes the raw `.BIN` or `.ULG` byte stream itself via WebCrypto SHA-256. Any regulator, university PI, or commercial client can scan the QR code on an exported PDF to confirm that the verification token and binary file custody digest match cleanly at `/verify/[id]`.

Run Deterministic Verification Live

Test real .BIN / .ULG telemetry logs up to 100 MB locally or verify hardware rules with zero login.

Frequently Asked Questions

Are my raw .BIN or .ULG files uploaded to a third-party server during browser preview?

No. In both the homepage dropzone and /demo sandbox, your browser decodes .BIN and .ULG files up to 100 MB locally in memory and never uploads raw telemetry binaries unless you explicitly sync metrics into your workspace.

Does UAVComply support DJI .DAT or encrypted proprietary logs?

No. UAVComply strictly supports open binary formats: ArduPilot DataFlash (.BIN) and PX4 ULog (.ULG and .ULOG) up to 100 MB locally.

How accurate are UAVComply telemetry metrics compared to pyulog and pymavlink?

Automated verification against real external ArduPilot and PX4 test logs using Python pyulog and pymavlink DFReader shows 0.00%–0.04% delta across duration, minimum voltage, peak IMU vibration, and altitude.

Related UAVComply Engineering Guides

Scope Notice: Technical checklists and software outputs assist operator safety engineering review prior to aviation authority submission and do not grant formal FAA or EASA regulatory approval.