PID-Analyzer
PID-Analyzer copied to clipboard
How to Use - MacOSX
HOW TO RUN PLASMATREE (MAC-OSX)
#Install: Python 2.7(https://www.python.org/downloads/release/python-2715/ PIP: (https://pip.pypa.io/en/stable/installing/) Homebrew + Git: (https://gist.github.com/derhuerst/1b15ff4652a867391f03…) Xcode: (https://itunes.apple.com/us/app/xcode/id497799835)
#Open Terminal - Do:
git clone https://github.com/cleanflight/blackbox-tools.git
cd blackbox-tools
brew install cairo --without-x11 pkg-config
make
cd ..
git clone https://github.com/Plasmatree/PID-Analyzer.git
cd PID-Analyzer
pip install -r requirements.txt
#Normal Use in Terminal:
cd PID-Analyzer
python PID-Analyzer.py --blackbox_decode ../blackbox-tools/obj/blackbox_decode -l (path_to_the_file.BBL)
#path_to_the_file.BBL > Drag and drop log to TERMINAL window
#Hit enter and boom!
Credit: Martin Hapl
Great! Will add to the wiki :)
Brad, I was going to do the same thing (open an issue with this), and saw you did it already, and even cleaned up our conversation. Thanks man!
@haplm you deserve the credit! thanks for teaching me
Installing python and running the .py works on every platform. On Linux you don't even need to install python since it's already there! The reason for a win executable is to enable at least for some people a solution without all this.
If you just install anaconda with python 2.7 everything should be there! (and you can also start programming your own stuff, which is awsome! ) https://www.anaconda.com/download/
If you also need an editor, try PyCharm ;)
The convo on FB was deleted, what were the command lines for updating again?
cd PID-Analyzer
git pull
optionally 'pip install -r requirements.txt
'
From Kevin on the BF Slack:
"At least on Linux the problem is, that the check in line 365 "if str(np.shape(l))=='(4L, 2L)'" fails since the string seems to be different on Windows than on Linux (and probably Mac too). Changing this line to "if np.shape(l) == (4,2):" should fix the problem and you'll have the exact same scale as on Windows."
Hi, in my case, this application not generate png image on tmp folder :-( Any solution ?
@sjpagna just use PIDToolBox: https://github.com/bw1129/PIDtoolbox
Plasmatree unfortunately is dead.