Comments (4)
Linux guide :
Somewhere in home directory:
wget https://github.com/Plasmatree/PID-Analyzer/archive/master.zip
unzip master.zip
cd PID-Analyzer-master
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
build blackbox_decode (needed)
Somewhere else in home directory (second console):
- download last source from here: https://github.com/betaflight/blackbox-tools/releases
- unpack somewhere
- run
make obj/blackbox_decode
in unpacked directory - if make is not available first install it:
sudo apt-get install make gcc
- copy
blackbox_decode
fromobj
toPID-Analyzer-master
Run analyzer (run in first console - You must have virtualenv enabled):
python PID-Analyzer.py --blackbox_decode ./blackbox_decode -l /path/to/log/LOG.BFL
Add nice emoticon to this guide if it worked 👍 🙄 😃
from pid-analyzer.
If you have multiple versions of Python installed you may need to specify pip3 instead of pip, and edit the PID-Analyzer.py script to use python3:
#!/usr/bin/env python3
from pid-analyzer.
i get this with or without the virt-env:
$ sudo pip3 install -r requirements.txt
[...]
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-u792xpp6 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython "numpy==1.9.3; python_version=='3.5'" "numpy==1.12.1; python_version=='3.6'" "numpy==1.13.1; python_version>='3.7'"" failed with error code 1 in None
EDIT: However, if i skip the requirements.txt and install the packages manually by name only (not versions) they install successfully and was able to execute python3 ./PID-Analyzer.py -l ../input.BBL --blackbox_decode ./blackbox_decode
successfully
Ubuntu 19.04
Linux 5.0.0-32-generic #34-Ubuntu SMP Wed Oct 2 02:06:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
from pid-analyzer.
Add nice emoticon to this guide if it worked +1 roll_eyes smiley
I also needed virtualenv
and python3-tk
(on Linux Mint 19.2) but then it worked great.
Thank you very much.
from pid-analyzer.
Related Issues (20)
- Cant't use on 500Hz HOT 2
- please include command-line arguments list in readme HOT 1
- Logging Settings on FC unclear HOT 1
- Noise plot frequency offset
- Analysis results have a problem HOT 1
- Heuristic PID Tuning [Feature Request]
- [Feature Request] Mount on Android HOT 2
- Unable to analyze file (Blackbox app read it) HOT 1
- No result generated
- Noisy band(s) - what gives? HOT 1
- Canot execute script PID_analyzer_0.52 HOT 1
- Debug Trace not found change filter notice HOT 1
- waterfall chart to show response?
- the program can not run on window 10 HOT 1
- [feature request] for setting "Optional plot name" via commandline HOT 2
- Unable to run on ubuntu server HOT 2
- ZeroDivisionError: integer division or modulo by zero
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 0: ordinal not in range(128) HOT 2
- Higher version python cannot run ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pid-analyzer.