Overview and Analysis of Multirotor Flight Logs
Log Types (Dataflash vs. tlogs)
Dataflash (Flash Memory Log)
The APM: Copter firmware includes a built-in “black box” feature capable of recording highly detailed flight data. Pixhack units come standard with an 8GB TF (microSD) memory card, providing enough capacity to store data from hundreds of flights.*
Log analysis makes it easy to examine the aircraft’s flight status and identify any potential malfunctions.
It also facilitates the evaluation of flight control parameters, helping to determine whether they require optimization.
There are two ways to retrieve these logs:
- Downloading via MAVLINK.
- Accessing the TF card directly from the flight controller using a card reader (files are located in the “logs” folder).
Downloading logs via MAVLink:
- Connect to the aircraft using a USB cable or a telemetry link (USB is recommended, as telemetry links can be quite slow).
- Open your Ground Control Station (GCS) > navigate to the “Flight Data” tab > select “DataFlash Logs” > choose “Download DataFlash Log via MAVLink.”
- Select the desired log file to download; the last entry in the list corresponds to the most recent flight.
- Once downloaded, the log file will be saved in the “logs” directory within your GCS installation folder (e.g., MissionPlanner/logs).
Normally, the time is displayed; however, there may be a discrepancy due to time zone settings.
If the GPS has not yet established a fix to retrieve the time, the year, month, and time will all be inaccurate.
Telemetry Logs (Tlogs)
When a PixHack is connected to a computer via a telemetry module, data is recorded by Mission Planner (or other ground control stations).
These recordings can be played back directly within the ground control station.
Flash Memory Log Analysis
Overview
There are two ways to analyze flash logs:
Automatic Analysis: Use the automatic analysis feature in the ground control station to process flight logs. This generates a report highlighting key issues—a simple and straightforward approach.
Manual Analysis: Use the log review feature in the ground control station to conduct a manual analysis. This requires a certain level of foundational knowledge and experience.
Auto Analysis:
Open Mission Planner (MP) >> Flight Data >> Auto Analysis
Load the downloaded flight log file (in .bin format).
Note: Ensure you are using the correct version of Mission Planner. An incorrect or outdated version may cause errors; please try using a newer version of the software.
Manual analysis of flash logs:
Logs downloaded via MAVLink are stored in subdirectories under `MissionPlanner/logs`, organized by vehicle type—for example, `QUADCOPTER` or `ROVER`.
The basic log format is as follows:
- Line numbers appear on the left side of the log analysis window.
- The firmware version and vehicle type are displayed at the top.
- `FMT` messages define the content structure for each distinct message type.
- `PARM` lines display parameter names and their corresponding values (listed in the order they appear in the flight controller’s EEPROM).
- Flight data information, including GPS and IMU data, is also included.
By clicking on a selected row, you can view charts and flight data, with the column headers updating accordingly. To graph a specific column, select it and click the “Graph this data” button. In this example, the “ATT’s Roll-In” and “Roll” data will be plotted. You can zoom in and out of the chart using your mouse wheel, or by selecting a specific area within the chart. Right-clicking and selecting “Set Scale to Default” will also allow you to zoom out. Click here for a brief tutorial on this feature.
You can also filter out the first column (which contains flight data information types) by clicking on it and selecting an option from the drop-down menu. This is particularly useful when browsing through different flight modes (refer to the “MODE” information) using Mission Planner (MP). To clear the filter, click the “Cancel” button in the first column.
Configuring Data to be Logged
The `LOG_BITMASK` parameter controls the types of messages recorded to the data flash memory. The latest versions of Mission Planner (MP) and ArduPilot allow you to enable or disable individual message types via the “Config/Tuning” > “Standard Params” screen in Mission Planner. (It is generally recommended to keep the default settings and avoid disabling any, as doing so may make it impossible to analyze the cause of a failure.)
Detailed Message Information (Specific to Copter Firmware)
ATT (Attitude Information):
| Parameter | Description |
|---|---|
| RollIn | Desired roll angle from the operator, unit: cm (negative to the left, positive to the right) |
| Roll | Actual roll angle of the aircraft, unit: cm (negative to the left, positive to the right) |
| PitchIn | Desired pitch angle from the operator, unit: cm-degree (negative forward, positive backward) |
| Pitch | Actual pitch angle of the aircraft, unit: cm (negative forward, positive backward) |
| YawIn | Desired yaw rate from the operator, range: -4500~4500 (not deg/s, clockwise is positive) |
| Yaw | Actual heading of the aircraft, unit: deg, 0 = north |
| NavYaw | Desired heading, unit: deg |
ATUN (Overview of Automated Parameter Tuning):
| Parameter | Description |
|---|---|
| Axis | Axis: 0 = Roll, 1 = Pitch |
| TuneStep | 0 = Return to level (before or after the test); 1 = Test (immediately executes a hover test response); 2 = Update gains |
| RateMin | Lowest recorded rate during this test |
| RateMax | Highest recorded rate during this test |
| RPGain | P gain value currently being tested |
| RDGain | Rate D gain value currently being tested |
| SPGain | Stabilize P gain currently being tested |
ATDE (Auto-Tune Steps and Details)
| Parameter | Description |
|---|---|
| Angle | Aircraft angle in cm along the axis under test |
| Rate | Rotation rate of the aircraft axis under test |
CAM (Shutter Trigger Time and Position)
| Parameter | Description |
|---|---|
| GPSTime | GPS report time, in milliseconds |
| Lat | Accelerometer + GPS latitude estimate |
| Lng | Accelerometer + GPS longitude estimate |
| Alt | Accelerometer + barometer estimated altitude |
| Roll | Aircraft roll angle (unit: cm) |
| Pitch | Aircraft pitch angle (unit: cm) |
| Yaw | Aircraft heading angle (unit: deg) |
CMD (Commands Received from the Ground Station or Executed as Part of a Mission)
| Parameter | Description |
|---|---|
| CTot | Total number of commands in the mission |
| CNum | Command number within this mission (0 is always home, 1 is the first mission) |
| CId | MAVLink message ID |
| Copt | Option parameter (used for many different purposes) |
| Prm1 | Command parameter (used for many different purposes) |
| Alt | Commander altitude, unit: m |
| Lat | Commander latitude |
| Lng | Commander’s precise position |
COMPASS (Raw Electronic Compass Offset and Compensation Values)
| Field | Description |
|---|---|
| MagX, MagY, MagZ | Raw magnetic field values on X, Y, Z axes |
| OfsX, OfsY, OfsZ | Raw magnetic offset (only updated when compass_lenarn parameter is set to 1) |
| MOfsX, MOfsY, MOfsZ | Motor compensation or current offset |
CURRENT (Battery Voltage, Current and Circuit Board Voltage Information)
| Field | Description |
|---|---|
| Thr | Pilot throttle input, range 0 ~ 1000 |
| ThrInt | Total throttle (sum of all throttle outputs) |
| Volt | Battery voltage in volts × 100 |
| Curr | Current × 100 |
| Vcc | Main board voltage |
| CurrTot | Total consumed current |
CTUN (Throttle and Altitude Information)
| Field | Description |
|---|---|
| ThrIn | Throttle input from operator, range 0 ~ 1000 |
| SonAlt | Altitude measured by sonar |
| BarAlt | Altitude measured by barometer |
| WPAlt | Target altitude in altitude hold, loiter, RTL or auto mode |
| NavThr | Unused |
| AngBst | Throttle boost when aircraft tilts, range 0 ~ 1000 |
| CRate | Climb rate estimated by accelerometer and barometer, unit: cm/s |
| ThrOut | Final throttle output sent to motors (0~1000); equals ThrIn + AngBst in stabilize mode |
| DCRate | Desired climb rate set by pilot, unit: cm/s |
D32, DU32 (a single data value is a signed 32-bit integer or an unsigned 32-bit integer)
FIELD | DESCRIPTION |
id | Identification number of the variable; only the following two values are possible |
| 7 = bit mask of the internal state7 = bit mask of the internal state https://github.com/ardupilot/blob/master/arducopter/arducopter.cpp#L361 |
| 9 = initial name of the Simple mode, unit: cm |
EKF (Extended Kalman Filter):
Log information here(Dev Wiki). Overview here.
EV (status codes)
Event No | DESCRIPTION |
10 | Unlocked (Armed) |
11 | Locked (Disarmed) |
15 | Auto mode (once the pilot raises the throttle above zero, the autopilot can control the throttle freely) |
16 | Auto takeoff |
18 | Landing complete |
25 | Home position set (home position coordinates captured) |
GPS
FIELD | DESCRIPTION |
Status | 0 = GPS not detected; 1 = GPS detected but no position fix; 2 = 2D position fix; 3 = 3D position fix (GPS with successful 3D positioning) |
Time | GPS report time, in milliseconds |
NSats | Number of satellites currently in use |
HDop | Measured GPS positioning accuracy (1.5 is good, >2.0 is not very good) https://en.wikipedia.org/wiki/Dilution_of_precision |
Lat | Latitude from GPS |
Lng | Longitude from GPS |
RelAlt | Altitude estimated from acceleration and barometric pressure, in meters |
Alt | Altitude reported by GPS (not used by the flight controller) |
SPD | Horizontal ground speed, unit: m/s |
GCrs | Heading (0 = North) |
IMU (accelerometer and gyroscope information)
FIELD | DESCRIPTION |
GyrX, GyrY, GyrZ | Raw gyroscope rotation rate. Unit: deg/s |
AccX, AccY, AccZ | Raw acceleration values, unit: m/s/s |
Mode (flight information)
FIELD | DESCRIPTION |
Mode | Flight mode, displayed as a string (e.g. STABILIZE, LOITER, etc.) |
ThrCrs | Cruise throttle (0–1000); this parameter can be used to estimate the throttle required for hovering |
NTUN (navigation information)
FIELD | DESCRIPTION |
WPDst | Distance to the next waypoint (or target), in centimeters; updated only in Loiter, RTL, and Auto modes |
WPBrg | Bearing to the next waypoint, in degrees |
PErX | Distance in the latitude direction from the multicopter to the next waypoint |
PErY | Distance in the longitude direction from the multicopter to the next waypoint |
DVelX | Desired velocity in the latitude direction (unit: deg/s) |
DVelY | Desired velocity in the longitude direction (unit: deg/s) |
VelX | Actual velocity in the latitude direction + barometer-estimated velocity |
VelY | Actual velocity in the longitude direction + GPS-estimated velocity |
DAcX | Desired acceleration in the latitude direction, unit: cm/s/s |
DAcY | Desired acceleration in the longitude direction, unit: cm/s/s |
DRol | Desired roll angle, unit: centidegrees (cd) |
DPit | Desired pitch angle, unit: centidegrees (cd) |
PM (performance monitoring):
| FIELD | DESCRIPTION |
|---|---|
| RenCnt | DCM renormalization count – a high number may indicate problems in DCM (extremely rare) |
| RenBlw | DCM renormalization blow-up count – how many times DCM had to completely rebuild the DCM matrix since the last PM. Normally innocuous, but a number that constantly grows may be an indication that DCM is having trouble calculating the attitude (extremely rare) |
| FixCnt | The number of GPS fixes received since the last PM message was received (it’s hard to imagine how this would be useful) |
| NLon | Number of long-running main loops (i.e. loops that take more than 5% longer than the 10ms they should) |
| NLoop | The total number of loops since the last PM message was displayed. This allows you to calculate the percentage of slow-running loops (which should never be higher than 15%). Note that the value will depend on the autopilot clock speed. |
| MaxT | The maximum time that any loop took since the last PM message. This should be close to 10,000 but will be up to 6,000,000 during the interval where the motors are armed |
| PMT | A number that increments each time a heartbeat is received from the ground station |
| I2CErr | The number of I2C errors since the last PM message. Any I2C errors may indicate a problem on the I2C bus, which may in turn slow down the main loop and cause performance problems. |
RCOUT (pwm output to individual RC outputs):
RC1, RC2, etc.: Error
| DESCRIPTION |
1: Main | (Not used) |
2: Radio | ECode 1: “Late Frame” means the flight controller has not received a remote control signal for more than two seconds |
3: Compass | ECode 1: compass not initialized (possibly a hardware problem); ECode 0: the above error is resolved |
4: Optical flow | ECode 1: unable to initialize |
5: Throttle failsafe | ECode 1: throttle dropped below FS_THR_VALUE (the throttle failsafe trigger value); the flight controller may not be receiving the remote control (throttle) signal — check the remote control signal input or the failsafe setting; ECode 0: the above error is resolved |
6: Battery failsafe | ECode 1: battery voltage below LOW_VOLT (the low-voltage protection trigger value), or the battery discharge current exceeds BATT_CAPACITY |
7: GPS failsafe | ECode 1: GPS disconnected for at least 5 seconds; ECode 0: GPS lock restored |
8: GCS failsafe | ECode 1: ground station control stick unchanged for at least five seconds; ECode 0: ground station updates restored |
9: Fence | ECode 1: fence height limit exceeded; ECode 2: fence range limit exceeded; ECode 3: both the fence range and height limits exceeded; ECode 0: the aircraft has returned within the limited range |
10: Flight Mode | ECode 0–17: the aircraft failed to switch to the desired flight mode. 0 = Stabilize, 1 = Acro, 2 = AltHold, 3 = Auto, 4 = Guided, 5 = Loiter, 6 = RTL, 7 = Circle, 8 = Position, 9 = Land, 10 = OF_Loiter, 11 = Drift, 13 = Sport, 14 = Flip, 15 = AutoTune, 16 = PosHold, 17 = Brake |
11: GPS | ECode 2: GPS fault; ECode 0: GPS fault cleared |
12: Crash Check | ECode 1: crash detected |
ERR (Error Message Code)
Listed below are the subsystems and their corresponding error codes:
1: Main (Unused)
2: Radio
ECode 1: “Late Frame” – The APM’s onboard PPM encoder has not received updated data for at least 2 seconds.
ECode 0: The PPM encoder has resumed data updates; the error is resolved.
3: Compass
ECode 1: Compass initialization failed (likely a hardware issue).
ECode 2: Failed to read data from the compass (likely a hardware issue).
ECode 0: The aforementioned error has been resolved.
4: Optical Flow
ECode 1: Initialization failed (likely a hardware issue).
5: Throttle Failsafe
ECode 1: The throttle value has dropped below the `FS_THR_VALUE` parameter; this may indicate a loss of connection between the RX/TX (radio link).
ECode 0: The issue is resolved; the RX/TX connection has been restored.
6: Battery Failsafe
ECode 1: The battery voltage has fallen below the `LOW_VOLT` parameter, or the battery discharge has exceeded the `BATT_CAPACITY` parameter.
7: GPS Failsafe
ECode 1: The GPS has lost its lock for at least 5 seconds.
ECode 0: The GPS has regained its lock.
8: GCS (Ground Control Station) Failsafe
ECode 1: No input (joystick/control) changes have been received from the Ground Control Station for at least 5 seconds. ECode 0: Ground station update restored
9: Geofence
ECode 1: Exceeded geofence altitude limit
ECode 2: Exceeded geofence boundary limit
ECode 3: Exceeded both altitude limit and geofence boundary
ECode 1: Aircraft has returned within the permitted boundaries
10: Flight Mode
ECode 0 – 10: Aircraft unable to enter the requested flight mode
(0 = Stabilize, 1 = Acro, 2 = AltHold, 3 = Auto, 4 = Guided, 5 = Loiter, 6 = RTL, 7 = Circle, 8 = Position, 9 = Land, 10 = Optical Flow Loiter)
11: GPS
ECode 2: GPS failure
ECode 0: GPS failure cleared
12: Impact Detection
ECode 1: Impact detected
Diagnosing Hardware Issues Using Logs
The purpose of this section is to teach you how to use logs to diagnose and analyze five common issues that directly affect aircraft performance.
Mechanical Failures:
Common mechanical hardware failures include motor or electronic speed controller (ESC) malfunctions (or synchronization issues), as well as propellers slipping or detaching.
In the logs, these failures manifest as a sudden divergence between the vehicle’s commanded (expected) roll and pitch and its actual roll and pitch.
This discrepancy can be easily identified by comparing the `Roll-in` vs. `Roll` and `Pitch-in` vs. `Pitch` values, as well as the `NavYaw` vs. `Yaw` values, found in the `ATT` (attitude) messages.
In the example shown above, the aircraft’s actual roll is initially close to the commanded roll (ROLL IN), but it subsequently diverges sharply. While the flight controller attempts to maintain a level attitude (ROLL IN = 0), the actual roll value becomes uncontrollable. This typically indicates a hardware failure—such as an issue with an ESC, a motor, or a propeller—which is fundamentally different from a software-related fault. In the case of a software issue (for example, severe oscillations caused by improper parameter settings), the commanded roll (ROLL IN) and the actual roll would generally remain close to each other.
Vibration Issues:
Since an aircraft’s attitude and altitude estimation rely heavily on accelerometer data, significant vibration can lead to issues such as unstable altitude control or drifting while hovering in a fixed position; in severe cases, it may even cause the aircraft to experience erratic vertical oscillations.
By analyzing the AccX, AccY, and AccZ values within the IMU messages from the flash memory logs, you can determine whether the aircraft’s vibration levels are within an acceptable range or if they exceed limits.
Ideally, AccX and AccY values should fall within the range of -3 to +3 m/s², while the ideal range for AccZ is -15 to -5 m/s².
When checking vibration levels, you should analyze data from a segment of the log where the flight was stable, as accelerometer readings will change instantaneously whenever the aircraft moves vertically.
On a graph, vibration appears similar to blades of grass. You should evaluate whether the vibration is within an acceptable range by observing this continuous “grassy” waveform.
Electronic Compass (Magnetometer) Interference:
If the electronic compass is subjected to interference, it can directly cause the aircraft—when operating in flight modes that rely on the compass (such as AUTO, LOITER, or RTL)—to spin, exhibit a “toilet-bowling” effect (circling in an increasingly large radius), or even fly in the wrong direction.
There are many potential sources of interference for the electronic compass, including components within the aircraft itself, such as the power distribution board (PDB), electronic speed controllers (ESCs), motors, power wiring, and the battery.
GPS Malfunction
In autonomous modes (AUTO, LOITER, or RTL), a GPS anomaly can cause the aircraft to suddenly fly toward an incorrect location or drift back and forth.
GPS anomalies typically involve a loss of satellite signal or a sudden decrease in the number of tracked satellites.
In the flash logs, this can be clearly observed as a drop in the number of satellites (NSats) and an increase in the HDOP (Horizontal Dilution of Precision) value.
Power Failure
In the flash memory (Dataflash) log, this is indicated by the fact that the helicopter is still in mid-air at the end of the log (i.e., navigation altitude, barometric altitude, and other altitude readings remain well above zero).
Data plots:
Barometric altitude (Alt) from the CTUN message in the Dataflash log.
Relative altitude (RelAlt) from the GPS information in the Dataflash log (an estimate derived from accelerometer and barometer data).
VFR_HUD altitude from the telemetry log (Tlog) (an estimate derived from accelerometer and barometer data).
Relative altitude (relative_alt) from the GLOBAL_POSITION message in the telemetry log (Tlog).
Fluctuations in circuit board voltage can also be a sign of power supply issues. For a motherboard, a voltage range of 4.7V–5.3V, with variations of less than 0.15V, is considered normal. If the voltage falls outside this range, it may be due to other devices sharing the same power source as the flight controller, causing power irregularities—such as voltage drops or other anomalous behavior. You can plot the circuit board voltage using the following data sources:
- VCC from the `CURRENT` message in the Dataflash log
- Vcc from the `HWSTATUS` message in the Tlog (telemetry log)
Other Unexpected Errors and Fail-Safe Protections
When an unexpected error occurs on an aircraft, it may trigger a corresponding failsafe.
ERR (Error Code)
Listed below are the subsystems and their associated error codes:
1: Main (Unused)
2: Radio
ECode 1: “Late Frame” – The APM’s onboard PPM encoder has not received updated data for at least 2 seconds.
ECode 0: The PPM encoder has resumed data updates; the error is resolved.
3: Compass
ECode 1: Compass initialization failed (likely a hardware issue).
ECode 2: Failed to read data from the compass (likely a hardware issue).
ECode 0: The aforementioned error has been resolved.
4: Optical Flow
ECode 1: Initialization failed (likely a hardware issue).
5: Throttle Failsafe
ECode 1: The throttle value has dropped below the `FS_THR_VALUE` parameter; this may indicate a loss of connection between the receiver (RX) and transmitter (TX).
ECode 0: The issue is resolved; the connection between the receiver (RX) and transmitter (TX) has been restored.
6: Battery Failsafe
ECode 1: The battery voltage has fallen below the `LOW_VOLT` parameter, or the battery discharge has exceeded the `BATT_CAPACITY` parameter.
7: GPS Failsafe
ECode 1: The GPS has lost its lock for at least 5 seconds.
ECode 0: The GPS has regained its lock.
8: GCS (Ground Control Station) Failsafe
ECode 1: No input changes have been detected from the Ground Control Station’s control sticks for at least 5 seconds. ECode 0: Ground station update restored
9: Geofence
ECode 1: Exceeded geofence altitude limit
ECode 2: Exceeded geofence boundary limit
ECode 3: Exceeded both altitude and boundary limits
ECode 1: Aircraft has returned within the defined limits
10: Flight Mode
ECode 0 – 10: Aircraft unable to enter the requested flight mode
(0 = Stabilize, 1 = Acro, 2 = AltHold, 3 = Auto, 4 = Guided, 5 = Loiter, 6 = RTL, 7 = Circle, 8 = Position, 9 = Land, 10 = Optical Flow Loiter)
11: GPS
ECode 2: GPS failure
ECode 0: GPS failure cleared
12: Impact Detection
ECode 1: Impact detected
Analyzing Ground Station Telemetry Logs
Ground station telemetry logs (also known as “tlogs”) are logs automatically recorded by the ground station whenever your vehicle is connected to it.
This section covers how to configure, access, and analyze these telemetry logs.
A “tlog” is a record of MAVLink telemetry messages exchanged between the flight controller (APM/PX4) and the ground station. It is created automatically the moment you click the “Connect” button in the Mission Planner (MP) ground station. These files follow the naming convention `YYYY-MM-DD hh-mm-ss.tlog` and are stored in a “logs” subfolder within the Mission Planner installation directory. You can also specify a custom storage location via the [Config/Tuning] tab under the [Planner] section in Mission Planner.
In addition to “.tlog” files, “.rlog” files are also generated. These contain all the data found in the “.tlog” files, plus extra debugging output from Mission Planner itself. Since they cannot be parsed or replayed, they should be ignored.
Setting Telemetry Rates
The desired rate at which data is sent from the APM/PX to the ground station can be controlled via the telemetry rate drop-down menus found in the Mission Planner software under the “Config/Tuning” > “Planner” tab. Since all data transmitted over the telemetry link is also recorded in a telemetry log (tlog), these settings likewise determine the rate at which data is saved to the tlog.
Please note that due to CPU resource limitations—particularly when operating helicopters—the actual rate at which data is transmitted and recorded may be lower than the requested rate.
Replaying Missions
If you are using wireless telemetry to connect to your APM via the Mission Planner, your flight data will be recorded automatically. You can replay these logs by following these steps:
- Open the “Flight Data” screen in Mission Planner.
- Click on the “Telemetry Logs” tab.
- Click “Load Log,” locate the `.tlog` file for your flight, and open it.
- Click “Play.”
You can also use the slider to jump to any point in the log, and use the preset “speed” buttons to control the playback rate.
As the log replays, the HUD interface will update, and the aircraft’s position on the map will reflect its movement over time during the flight. Individual data values can be viewed via the “Status” tab; you can even display them as graphs by checking the “Debug” box below the map. Double-clicking the data legend opens a window where you can precisely select which data fields to display, as shown in the image below. This allows you to visualize how recorded data points change throughout the flight mission.
Creating 3D Images of Flight Paths
You can create a KMZ file by following these steps:
- Open the Flight Data screen in Mission Planner (MP)
- Click on the Telemetry Logs tab
- Press the “Tlog > KML or Graph” button
- Press the “Create KML + GPX” button
- Select the flight Tlog file
A .kmz or .kml file will be created alongside the original .tlog file; these can be opened in Google Earth to view the 3D flight path interactively. You can open the .kmz file in Google Earth to visualize the flight path—simply double-click the file, or drag and drop it into Google Earth.
Different flight modes used during a flight are displayed as paths in various colors. You can customize how these flight paths are shown, including their color and whether they extend down to the ground:
Locate the name of your log file in the “Places” pane on the left; it should appear under the “Temporary Places” folder.
Right-click on a specific path and select “Properties” to open the “Edit Path” window.
You can change the color on the “Style, Color” tab. On the “Altitude” tab, you can remove or add the area beneath the path by unchecking or checking the “Extend path to ground” option.
Extracting Parameters and Waypoints
You can extract parameters and waypoints from a .tlog file by following the same steps used to create a KML file, but selecting either “Extract Params” or “Extract WPs” in the final step.
Selecting “Extract Params” will generate a .param file alongside the .log file. This is a delimited file containing a complete list of parameters—in the same order as they appear in the EEPROM—along with their values during the flight. It can be opened using Excel or a text editor.
Selecting “Extract WPs” will create one or more .txt files containing the mission that was uploaded to the APM/PX4. These files can be opened in Mission Planner by navigating to the “Flight Plan” screen, right-clicking on the map, and selecting “File Load/Save” > “Load WP File.”
Plotting Data from a Flight
You can plot data from a flight by following these steps:
- Open the Flight Data screen in Mission Planner.
- Click on the Telemetry Logs tab.
- Press the “Tlog > KML or Graph” button.
- Press the “Graph Log” button.
- Select the flight Tlog file.
When the “Graph This” screen appears, click the checkbox next to the item you wish to display using either the left or right mouse button. These items are organized into categories such as “RC_CHANNELS” and “RAW_IMU”; you can expand the relevant category to locate the specific item you need.
If you use the left mouse button, the scale for that item will appear on the left side of the graph. If you use the right mouse button, it will appear on the right side.
Click the checkbox multiple times to cycle through all available colors.
Use the mouse scroll wheel to adjust the zoom level of the graph, click and drag with the left mouse button to select a specific area to zoom in on, or right-click on the graph and select “Reset zoom to default” to restore the original view.
The above content covers an overview and analysis of logs for multi-rotor aircraft. Stay tuned for the next article:
《Mission Planning for Multi-Rotor Aircraft》