Flight log Data analysis visualization tool
Project description
A tool written by python to visualize the flight log data inspired by FlightGear. Other log analysis tools see dev.px4.io
Installation
There are two way to run pyFlightAnalysis
Run from source
pyFlightAnalysis is based on pyqtgraph (which based on PyQt ), pyOpenGL, pyulog besides generally used scientific packages like numpy, matplotlib etc. If you have installed these packages. You can download the source file
# In folder where you want put the source code
git clone https://github.com/Marxlp/pyFlightAnalysis.git
cd pyFlightAnalysis
python analysis.py
Install and Run
Due to PyQt4 is can’t directly installed by pip, so you need install PyQt4 by hands. If you use anaconda, it can be installed by conda install pyqt. PyQt5 can install directly from pip but only support python3.x. After install PyQt, you can
# Install from pypi
pip install pyFlightAnalysis
# or install from source
git clone https://github.com/Marxlp/pyFlightAnalysis.git
python setup.py install
# then run it
analysis
Features
Dynamic filter for looking data
3D visulization for attitude and position of drone
Easily replay with pyqtgraph’s ROI (Region Of Interest)
Usage
Video Tutorial:
Literacy Tutorial:
Open log file (currently only support .ulg filemat) by clicked
Choose data by using filter and double click to add it.
Change color or toggle visibility
Scroll the middle wheel of mouse to zoom, press down and drag to move the curve
Click to show 3D viewer ( currently may not be robust)
Press to play ( you’d better open the 3D viewer to show the animation)
Issues
If you have install PyQt4 and pyqtgraph but with below error
ImportError: cannot import name QtOpenGL
try
sudo apt-get install python-qt4-gl
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pyFlightAnalysis-1.0.1b1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c6218837a89a623c63a4273e3820ff7e5f721f17146d80aa2bba8bce655f50b |
|
MD5 | 86dabc5ff6ebbb8258c63bdae556de27 |
|
BLAKE2b-256 | d8f710554ded20470bd6201db0528fc323321c3ccb244887d24aef9973bff97a |