Defines Drake Environments for use with OpenAI RL algorithms.
-
Checkout gym-drake: git clone https://github.com/HarvardAgileRoboticsLab/gym-drake.git
-
Make sure pip is installed (should be installed if using Python 2 >=2.7.9 or Python 3 >=3.4). If not, see here.
-
Install virtualenv:
pip install --user virtualenv -
Setup virtual environment.
a)
cd gym-drakeb)
virtualenv venv -
Activate venv (you have to do this for every terminal):
venv/bin/activate. Simply usedeactivateto deactivate the venv. -
Install tensorflow (see dependencies for details).
-
Install pydrake (see dependencies for details) using cmake. Don't forget to add pydrake to PYTHONPATH.
Install from pip or from source.
Install from pip or source here.
To install pydrake follow the pydrake installation instructions.