The problem is that all available docs are written for the raspbian (debian, ubuntu) or for the windows os.
https://ardupilot.github.io/MAVProxy/ht ... ation.html
Since I'm dummy in Linux. I'm asking for your help.
In accordance with instruction, posted above, first it is necessary to install python 2.7.x.
In my gentoo setup I have two installed versions of python.
Code: Select all
pi64 ~ # eix dev-lang/python
[U] dev-lang/python
Available versions:
(2.7) 2.7.14-r1
(3.4) 3.4.5-r1(3.4/3.4m)^t (~)3.4.6-r1(3.4/3.4m) (~)3.4.8(3.4/3.4m)
(3.5) 3.5.4-r1(3.5/3.5m)^t (~)3.5.5(3.5/3.5m)^t{tbz2}
(3.6) 3.6.3-r1(3.6/3.6m)^t (~)3.6.4(3.6/3.6m)^t (~)3.6.5(3.6/3.6m)
Installed versions: 2.7.14-r1(2.7)
3.5.4-r1
Then it is necessary to install some additional stuff. In accordance to instruction:
Code: Select all
sudo apt-get install python-opencv python-wxgtk2.8 python-matplotlib python-numpy python-serial python-pil libwxgtk2.8-dev libpython2.7-devFor the python-opencv
Code: Select all
* dev-ros/opencv_apps
Description: OpenCV applications for ROS
* dev-ros/opencv_tests
Description: Tests for ROS OpenCV integration
* media-libs/opencv
Description: A collection of algorithms and sample code for various computer vision problems
* media-plugins/gst-plugins-opencv
Description: OpenCV elements for Gstreamer
* ros-meta/vision_opencv
Description: Converts between ROS Image messages and OpenCV images
then for the python-wxgtk2.8
Code: Select all
pi64 ~ # eix wxgtk
[U] x11-libs/wxGTK
Available versions:
(2.8) (*)2.8.12.1-r2
(3.0) (~)3.0.3
(3.0-gtk3) (*)3.0.3-r300
Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit
Installed versions: 3.0.3(3.0)Ok, now for the python-matplotlib seems that there is no questions:
Code: Select all
pi64 ~ # eix matplotlib
* dev-python/matplotlib
Available versions: *1.4.3 (~)2.1.0-r1 (~)2.1.0-r2 (~)2.1.2-r1 (~)2.2.0 (~)2.2.2 **9999 {cairo doc examples excel fltk gtk gtk2 gtk3 latex pyside qt4 qt5 test tk wxwidgets PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6"}
Description: Pure python plotting library with matlab like syntax
Code: Select all
pi64 ~ # eix numpy
* dev-libs/boost-numpy
Description: Boost.Python interface for NumPy
* dev-python/numpy
Description: Fast array and numerical python library
* dev-python/numpydoc
Description: Sphinx extension to support docstrings in Numpy format
* dev-python/root_numpy
Description: Interface between ROOT and numpy
Code: Select all
pi64 ~ # eix dev-python/pyserial
* dev-python/pyserial
Available versions: 3.2.1 (~)3.4
Code: Select all
pi64 ~ # eix dev-python/pil
* dev-python/pilkit
Description: A collection of utilities and processors for the Python Imaging Libary
* dev-python/pillow
Description: Python Imaging Library (fork)
* dev-python/pillowfight
Description: Eases the transition from PIL to Pillow


