Installation

Matlab

Use the iit campus licence to get matlab:

More information here.

Relase version: R2020b.

Note: Leave the installation path = /usr/local/MATLAB/R2020b/

Installation

  • cd /path_where_was_unizip_matlab/matlab_R2020b_glnxa64

  • sudo ./install

  • **Note. If you don’t see the Matlab installation page, use this command: xhost +SI:localuser:root (and then sudo ./install) **

  • access with iit username and password.

  • select the toolboxes described below.

Toolboxes

The minimum requiremets to make XBotBlock works are:

  • Matlab and Simulink

_images/Installation_Img_0.png
  • Embedded Coder

_images/Installation_Img_1.png
  • Matlab Components (i.e Compiler, Coder)

_images/Installation_Img_2.png
  • ROS Toolbox and Robotics System Toolbox

_images/Installation_Img_3.png
  • Simulink Components (i.e Compiler, Coder)

_images/Installation_Img_4.png
  • Stateflow

_images/Installation_Img_5.png

XBotBlock

Install XBotBlock:

git clone https://github.com/ADVRHumanoids/XBotBlock_WP.git
sudo dpkg -i XBotBlock_WP/debian/blockfactory/`lsb_release -cs`/blockfactory_package-0.8.3-r0.0.1-amd64.deb
sudo dpkg -i XBotBlock_WP/debian/XBotBlock/`lsb_release -cs`/XBotBlock_package-0.0.1-r0.0.1-amd64.deb
sudo gedit /opt/xbot/setup.sh
export BLOCKFACTORY_PLUGIN_PATH=/opt/xbot/lib/
export MATLABPATH=/opt/xbot/mex/

Uinstall XBotBlock:

sudo dpkg -r blockfactory_package
sudo dpkg -r xbotblock_package
sudo gedit /opt/xbot/setup.sh
remove
"export BLOCKFACTORY_PLUGIN_PATH=/opt/xbot/lib/"
"export MATLABPATH=/opt/xbot/mex/"

Matlab Patches

Install Matlab patches:

cd XBotBlock_Final_Product/patch
sudo ./setup.sh

UInstall Matlab patches:

cd XBotBlock_Final_Product/patch
sudo ./restore.sh

OpenSSH-Server

Install and configure openssh-server:

sudo apt-get install openssh-server