Install¶
Disclaimer
Assistive-rehab has been widely tested on Ubuntu 16.04
and Ubuntu 18.04
. If you face any issue either with your OS, please submit an Issue.
Requirements¶
- Supported Operating Systems: Linux, Windows, macOS
- C++11 compiler
- CMake 3.5
- ycm
- icub-contrib-common
- yarp (3.1.100 or higher)
- iCub
- OpenCV (3.4.0 or higher)
- yarpOpenPose
- Ipopt
- yarp.js
yarp
ENABLE_yarpcar_mjpeg ON
: to allow mjpeg compression.ENABLE_yarpcar_zfp ON
: to allow zfp compression.ENABLE_yarpmod_realsense2 ON
: to enable the realsense.
OpenCV
- Download OpenCV:
git clone https://github.com/opencv/opencv.git
. - Checkout the correct branch/tag:
git checkout 3.4.0
. - Download the external modules:
git clone https://github.com/opencv/opencv_contrib.git
. - Checkout the same branch/tag:
git checkout 3.4.0
. - Configure OpenCV by filling in
OPENCV_EXTRA_MODULES_PATH
with the path to opencv_contrib/modules and then toggling on all possible modules. - Compile OpenCV.
Optional dependencies¶
Dependency | License |
---|---|
TensorFlowCC | MIT |
fftw3 | GPL |
GSL | GPL |
matio | BSD 2-Clause |
VTK (8.1.0 or higher) | BSD-style |
cer | GPL |
TensorFlowCC
TensorFlowCC builds and installs the TensorFlow C++ API, which is released under Apache 2.0 license.
matio
On Ubuntu 18.04
, you can install the library through apt: sudo apt install libmatio-dev
.
Warning
If an optional dependency is not found, the modules depending on it are not compiled.
Failure
If you want to run the full demo, also additional dependencies are required.
report
For generating the offline report, you will need to install the following python libraries (you can install them through pip install
):
- scipy
- numpy
- matplotlib
- pandas
- glob
- jupyter
- plotly
- warnings
- collections
- math
- re
- os
- datetime
-
IPython
plotly
You need to enable jupyter extension to allow plotly to work in jupyter notebook:
pip install "notebook>=5.3" "ipywidgets>=7.2" --user
.
Installation¶
If all the dependencies are met, proceed with the following instructions:
From sources
Substitute to <install-prefix>
the absolute path where you want to install the project.
````tab="GNU/Linux and macOS"
git clone robotology/assistive-rehab.git
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=````tab="Windows"
git clone https://github.com/robotology/assistive-rehab.git
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=<install-prefix>
make
make install