Skip to content

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

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

  1. Download OpenCV: git clone https://github.com/opencv/opencv.git.
  2. Checkout the correct branch/tag: git checkout 3.4.0.
  3. Download the external modules: git clone https://github.com/opencv/opencv_contrib.git.
  4. Checkout the same branch/tag: git checkout 3.4.0.
  5. Configure OpenCV by filling in OPENCV_EXTRA_MODULES_PATH with the path to opencv_contrib/modules and then toggling on all possible modules.
  6. 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= make make install

````tab="Windows"
git clone https://github.com/robotology/assistive-rehab.git
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=<install-prefix>
make
make install