Skip to content

Latest commit

 

History

History
87 lines (53 loc) · 2.11 KB

INSTALLATION.md

File metadata and controls

87 lines (53 loc) · 2.11 KB

INSTALLATION

To install the dependencies execute the scripts/install_dependencies.sh

scripts/install_conda.sh # Skip this step if you already have conda installed.
scripts/install_dependencies.sh

Please see the README for a quick start instruction.

Alternatively, you can follow the detailed instructions to setup the software from scratch

2. PyRep and Coppelia Simulator

Follow instructions from my PyRep fork; reproduced here for convenience:

PyRep requires version 4.1 of CoppeliaSim. Download:

Once you have downloaded CoppeliaSim, you can pull PyRep from git:

cd <install_dir>
git clone https://github.com/markusgrotz/PyRep.git
cd PyRep

Add the following to your ~/.bashrc file: (NOTE: the 'EDIT ME' in the first line)

export COPPELIASIM_ROOT=<EDIT ME>/PATH/TO/COPPELIASIM/INSTALL/DIR
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COPPELIASIM_ROOT
export QT_QPA_PLATFORM_PLUGIN_PATH=$COPPELIASIM_ROOT

Remember to source your bashrc (source ~/.bashrc) or zshrc (source ~/.zshrc) after this.

Warning: CoppeliaSim might cause conflicts with ROS workspaces.

Finally install the python library:

pip install -e .

You should be good to go! You could try running one of the examples in the examples/ folder.

3. RLBench

PerAct uses my RLBench fork.

cd <install_dir>
git clone https://github.com/markusgrotz/RLBench.git

cd RLBench
pip install -e .

For running in headless mode, tasks setups, and other issues, please refer to the official repo.

4. YARR

PerAct uses my YARR fork.

cd <install_dir>
git clone https://github.com/markusgrotz/YARR.git 

cd YARR
pip install -e .

RVT baseline

pip install git+https://github.com/NVlabs/RVT.git pip install -e .