Flight-Tools

Flight‑Tools is a collection of Python scripts for visualizing and analyzing ArduPilot and PX4 log files. The full set is available on GitHub, with resources for setting up a Python virtual environment and Flask. Windows executable versions are also provided via Google Drive.

Examples of Flight-Tools Capabilities:

  • Display parameters and values from a log file
  • Compare parameter values between two log files
  • Plot voltage, current, and watt-hours
  • Drill down into log data by message type and field

Flight-Tools Versions Available on GitHub

  • Python CLI (Command Line Interface):

Each Flight-Tools script can be run directly from the command line within a Python virtual environment. Supporting files for PIP and UV (requirements.txt and pyproject.toml) are included in the repository. Script parameters allow you to customize the output for your specific needs. Python CLI supports headless implementations by allowing output to be directed to files.

  • Flet enabled Python CLI

Scripts ending in “…flet.py” are enabled with Flet GUI capabilities. These scripts still require a Python virtual environment, but no other Flight-Tools support files. (some Linux distros may require additional packages to support Flet) The Flet enabled Flight-Tools scripts allow no parameters – all interaction is performed from the GUI. Many scripts have the ability to save their results in CSV format files.

  • Flask Web Interface:

Using Python’s micro-framework Flask, all Flight-Tools scripts can also be run through a simple web interface. This option provides a more user-friendly way to access the tools without relying solely on the command line. Flask requires support scripts that come when cloning the Flight-Tools GitHub repository.

Flight-Tools Versions Available on Google Drive

  • Windows Executables

Pre-packaged Windows executable versions of Flet enabled Flight-Tools scripts are available via Google Drive. These executables make it easy to run the tools without setting up a python environment, offering quick access for Windows users.

ArduPilotPX4
Flight-Tools-Ardupilot.zipFlight-Tools-PX4.zip

Live FLASK Enabled Flight-Tools Scripts

ArduPilotPX4
bin-info
This script generates a list of message types contained in an ArduPilot .BIN file.
ulg-info
This script generates a list of message types contained in a PX4 .ULG file.
bin-parameter-list
This script generates a list of ArduPilot parameters and their values recorded in an ArduPilot .BIN log file.
ulg-parameter-list
This script generates a list of PX4 parameters and their values recorded in a PX4 .ULG file.
bin-power-plot
This script displays a chart showing VOLTS, AMPS and WATT-HOURS recorded in an ArduPilot .BIN log file.
ulg-power-plot
This script displays a chart showing VOLTS, AMPS and WATT-HOURS recorded in a PX4 .ULG log file.
bin-range-signal
This script plots control radio RSSI and LQ, and Telemetry radio RSSI against 3D distance from the home point in an ArduPilot .BIN log file.
ulg-range-signal
This script plots control radio RSSI and LQ, and Telemetry radio RSSI against 3D distance from the home point in an PX4 .ULG log file.
bin-log-explorer
This script displays .bin log file data. The user selects the record type, then the parameter name. All matching log file data is listed with it’s time stamp.
ulg-log-explorer
This script displays .ulg log file data. The user selects the message type, then the field name. All matching log file data is listed with it’s time stamp.
bin-parameter-compare
This script compares parameters from two .bin log files – and reports the differences.

The log file’s initial or final parameter values may be used for the comparison.
ulg-parameter-compare
This script compares parameters from two .ulg log files – and reports the differences.

The log file’s initial or final parameter values may be used for the comparison.