Code Monkey home page Code Monkey logo

Comments (4)

Dom4n avatar Dom4n commented on May 27, 2024 8

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 from obj to PID-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.

JamesKingdon avatar JamesKingdon commented on May 27, 2024 1

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.

meoso avatar meoso commented on May 27, 2024

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_decodesuccessfully

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.

dentex avatar dentex commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.