Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Flight log data analysis visualization tool

Project description

A PX4 flight log (ulog) visual analysis tool, inspired by FlightPlot.

pyFlightAnalysis GUI

pyFlightAnalysis GUI

pyFlightAnalysis is written in Python, and depends on pyqtgraph (which is based on PyQt), pyOpenGL, pyulog, and a number of other widely used scientific packages including numpy, matplotlib, etc.

For other log analysis tools see


You can either clone the repository and run the tool directly from source, or you can install pyFlightAnalysis (from source or using the PyPi Python package manager) and then run it. In either case you will first need to install PyQt (as shown below).

Install PyQt

For Python 3.x, PyQt5 can be installed directly from pip:

pip install PyQt5

For Python 2.x, PyQt can’t directly be installed using pip. Instead you will need to install it manually (if using Anaconda, install using the command: conda install pyqt).

Run from Source

After installing PyQt, enter the following commands to install other dependencies:

pip install pyqtgraph pyOpenGL pyulog matplotlib numpy

Once you have installed these packages you can clone the source files:

# In folder where you want put the source code
git clone

Then run the source files:

cd pyFlightAnalysis/src

Install and Run

You can install pyFlightAnalysis from either source or PyPi (after first installing PyQt as described above):

# Install from pypi
pip install pyFlightAnalysis


# Install from source
git clone
python install

After installing pyFlightAnalysis you can run it as shown:



  • Dynamic filter for displaying data
  • 3D visulization for attitude and position of drone
  • Easily replay with pyqtgraph’s ROI (Region Of Interest)


Literacy Tutorial:

  1. Open log file (currently only support .ulg format) by clicked open file.
  2. Choose data by using filter filter data and double click to add it.
  3. Change color or toggle visibility change color or toggle visibility.
  4. Scroll the middle wheel of mouse to zoom, press down and drag to move the curve.
  5. Click show quadrotor to show 3D viewer ( currently may not be robust).
  6. Press play data to play ( you’d better open the 3D viewer to show the animation).


If you have installed PyQt4 and pyqtgraph but get the error below:

ImportError: cannot import name QtOpenGL


>>> sudo apt-get install python-qt4-gl



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyFlightAnalysis, version 1.1.0b0
Filename, size File type Python version Upload date Hashes
Filename, size pyFlightAnalysis-1.1.0b0-py2.py3-none-any.whl (5.2 MB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pyFlightAnalysis-1.1.0b0.tar.gz (5.3 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page