Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Use - MacOSX #15

Open
Bradw-17 opened this issue May 10, 2018 · 9 comments
Open

How to Use - MacOSX #15

Bradw-17 opened this issue May 10, 2018 · 9 comments

Comments

@Bradw-17
Copy link

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

@Plasmatree
Copy link
Owner

Great! Will add to the wiki :)

@haplm
Copy link

haplm commented May 11, 2018

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!

@Bradw-17
Copy link
Author

@haplm you deserve the credit! thanks for teaching me

@Plasmatree
Copy link
Owner

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 ;)

@Bradw-17
Copy link
Author

The convo on FB was deleted, what were the command lines for updating again?

@haplm
Copy link

haplm commented May 21, 2018

cd PID-Analyzer
git pull

optionally 'pip install -r requirements.txt'

@Bradw-17
Copy link
Author

Bradw-17 commented Mar 7, 2019

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."

@sjpagna
Copy link

sjpagna commented Mar 5, 2020

Hi, in my case, this application not generate png image on tmp folder :-( Any solution ?

@Bradw-17
Copy link
Author

Bradw-17 commented Mar 6, 2020

@sjpagna just use PIDToolBox: https://github.com/bw1129/PIDtoolbox

Plasmatree unfortunately is dead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants