Flight log · drones

On this page 7

A flight log for drones is the time-stamped record of sensor readings, control inputs, system states and events that the autopilot, the ground control station or the pilot app writes during each flight. In the Subject of Drones and the Topic of Drone software & autonomy, the flight log is the primary evidence of what the aircraft actually did, and it supports crash investigation, controller tuning, maintenance planning and regulatory record keeping.

The term covers two related things. The onboard log is recorded by the flight controller itself at high rates, while the operational logbook is the pilot-level summary of date, location, duration and purpose that regulators and insurers expect. Both answer the same question at different depths: when, where and how a drone flew.

How a drone flight log is recorded

A drone flight log is produced by a logging subsystem in the flight controller firmware that samples selected variables and writes them as binary messages to an SD card or onboard flash memory. Open autopilots such as ArduPilot write DataFlash .bin files, while PX4 writes ULog .ulg files; both formats are self-describing, so each file contains the definitions of the messages it stores.

Logging usually starts at arming and stops at disarming, although many systems can log from boot to capture pre-arm failures. Each message carries a microsecond or millisecond timestamp from the controller clock, and a GPS time reference lets analysts align the log with video, photos or external events.

A second copy of key data often reaches the ground as drone telemetry over MAVLink or a proprietary radio link. This telemetry log (.tlog) is recorded by the ground control station at a much lower rate, so it is useful when the aircraft is lost but cannot replace the full-rate onboard log.

The following table shows the main log formats in common use and where each one is created.

FormatCreated byTypical content
DataFlash .binArduPilot flight controllerFull-rate sensors, estimator, outputs, events
ULog .ulgPX4 flight controlleruORB topics, parameters, console messages
MAVLink .tlogGround control stationTelemetry stream at reduced rate
Encrypted .txt or .datConsumer drone apps and aircraftPosition, battery, warnings, camera actions
CSV exportAnalysis or fleet toolsSelected fields for reports and audits
Common drone flight log formats

What data a flight log contains

A complete flight log captures the full control loop: what the sensors measured, what the state estimator concluded, what the controller commanded and what the pilot or mission requested. Analysts depend on this chain because most failures appear as a mismatch between commanded and achieved behavior.

Logging rates differ by data type. Inertial data may be logged at hundreds of hertz up to several kilohertz for vibration analysis, whereas battery and GPS data are usually logged at 1 to 10 Hz. Higher rates improve diagnostic detail but fill storage faster and can load the processor on small controllers.

The table below groups typical log fields by purpose and indicates what each group reveals.

Data groupExample fieldsWhat it reveals
Inertial sensorsGyro rates, accelerationsVibration, frame resonance, sensor clipping
Attitude controlDesired and actual roll, pitch, yawTuning quality and oscillation
NavigationGPS fix, satellites, HDOP, position estimatePositioning errors and drift
Power systemVoltage, current, consumed mAhBattery sag and remaining capacity
Motor outputsPWM or DShot values per motorSaturation, imbalance, motor failure
Radio and commandsStick inputs, RSSI, mode changesLink loss and pilot actions
Events and errorsFailsafes, warnings, parameter changesSequence of an incident
Typical data groups in a drone flight log

Flight log analysis and tuning

Flight log analysis means plotting logged variables over time and comparing them to expected behavior. Tools such as the log viewers in Mission Planner and QGroundControl, PX4 Flight Review and web-based plotters let engineers overlay desired versus actual attitude, motor outputs and vibration levels on a single timeline.

In practice, analysts follow a repeatable diagnostic sequence. They first check vibration and sensor health, then estimator consistency, then control tracking, and only afterward examine power and navigation. This order matters because poor vibration isolation corrupts the estimator, which in turn makes the controller appear badly tuned.

The following table maps frequent log symptoms to their likely causes and corrective actions.

Symptom in the logLikely causeTypical fix
Accelerometer clippingExcessive vibrationBalance propellers, improve damping
Actual attitude oscillates around desiredPID gains too highReduce rate gains, retune
One motor output near maximumWeak motor, bent arm or center of gravity offsetInspect hardware, rebalance payload
Voltage drops sharply under loadAged or undersized batteryReplace battery, lower current draw
Position estimate jumpsGPS multipath or compass interferenceRelocate sensors, recalibrate compass
Log symptoms, likely causes and fixes

Flight logs in operations and compliance

For commercial operators, the flight log is also a legal and business record. Aviation authorities commonly require operators to keep records of flight time, location, pilot and aircraft identity, particularly in the Specific category in Europe and for waivers or authorizations in the United States. Insurers ask for logs after an incident to verify the circumstances of a claim.

Drone fleet management platforms collect logs automatically from pilot apps and controllers, then aggregate airframe hours, battery cycles and pilot currency. These totals drive maintenance intervals, such as motor inspection after a fixed number of hours, and support audits without manual paperwork.

The table compares the onboard log with the operational logbook so that each is used for the correct purpose.

AspectOnboard flight logOperational logbook
Recorded byFlight controller or appPilot or operator
DetailThousands of samples per secondOne entry per flight
Main useDiagnosis and tuningCompliance and maintenance
RetentionOften overwritten when storage fillsKept for a defined period
Onboard log compared with operational logbook

Limitations and common mistakes

Flight logs are powerful but not automatically complete or trustworthy. Several recurring problems reduce their value, and experienced operators guard against them deliberately.

  • Missing logs after a crash: a hard impact can eject or corrupt the SD card, so the last seconds may be lost.
  • Logging disabled or reduced: default settings may omit high-rate data needed for vibration analysis.
  • Clock misalignment: without a GPS time reference, logs cannot be matched reliably to video or witness reports.
  • Privacy exposure: logs contain precise home points and flight paths, so sharing them publicly reveals locations.
  • Overreliance on telemetry: the ground link log has gaps and low rates, so it can hide short transients.

A sound practice is to download and archive logs after every flight, keep firmware and parameter versions with them, and review at least the warnings and vibration summary before the next mission.

The short version

A flight log is the drone’s diary of each flight. While the drone flies, its computer writes down where it is, how fast it moves and what the pilot asks it to do. It also notes how much power is left. It stores all of this many times every second.

After landing, people open this diary to see what happened. If the drone wobbled or crashed, the log often shows the reason. It works much like the black box in an airliner, only smaller and simpler.

Where it makes a difference

A surveying company flies a hexacopter running ArduPilot over a quarry. On one mission the aircraft suddenly drifts sideways and lands in a safety failsafe. Nobody is hurt, but the client wants to know whether the next flights are safe.

The engineer downloads the DataFlash log and plots the data. The vibration values are normal, but the compass heading disagrees with the GPS track by about 30 degrees when the drone passes over a steel conveyor. The log also shows a compass inconsistency warning seconds before the drift began.

The team moves the compass away from the power cables and recalibrates it. The next ten flights show consistent heading data and no warnings. The company files the log and the fix in its maintenance record, which satisfies the client and the insurer.