Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.04 KB

File metadata and controls

47 lines (32 loc) · 1.04 KB

Attention. PID analyzer is outdated. Use this repository for educational purposes only

pid-server

Online shell for PID-Analyzer (https://github.com/Plasmatree/PID-Analyzer)

git clone https://github.com/Plasmatree/PID-Analyzer.git
sudo apt install python3-tk
pip install -r PID-Analyzer/requirements.txt
pip install -r pip_requirements.txt

Run:

python3 server.py 

Usage help:

python3 server.py --help

You probably need to make some changes in PID-Analyzer.py:

  1. PID-analyzer uses Python 3. Often Python 2 is installed as part of the unix system. So PID-analyzer can start with a wrong version of Python. Check:
/usr/bin/env python -V

If you see version 2.xx.xx - you need to change the first line of PID-Analyzer.py:

#!/usr/bin/env python3
  1. probably in Linux after this line it is necessary to add:
import matplotlib
matplotlib.use ('Agg')

Also you need to compile https://github.com/cleanflight/blackbox-tools and specify parameter -B as path to blackbox_decode