1. Install - Healthcare-Robotics/assistive-vr-gym GitHub Wiki

Note: While Assistive Gym is supported on Linux, Mac, and Windows, Assistive VR Gym is only supported on Windows due to the VR dependency.

Installing on Windows

Setup

  1. Install Python 3.6.8 at: https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe
  2. Install git: https://git-scm.com/download/win
  3. Install Microsoft visual c++ build tools: https://www.microsoft.com/en-us/download/details.aspx?id=48159
  4. Install c++ build tools for visual studio: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
    -- during installation, click on the "C++ build tools" checkbox.
  5. Download Oculus Rift S Software https://www.oculus.com/setup/#rift-s-setup and install SteamVR https://store.steampowered.com/app/250820/SteamVR/

Install Assistive Gym

We encourage installing Assistive Gym and the custom PyBullet engine in a python virtualenv.

mkdir git
cd git
python -m pip install --user virtualenv
python -m venv env
env\Scripts\activate
pip install --upgrade setuptools
git clone -b vr https://github.com/Zackory/bullet3.git
cd bullet3
pip install .

Now navigate to the bullet3 directory, run build_visual_studio_vr_pybullet_double.bat and open build3/vs2010/0MySolution.sln. When asked, convert the projects to a newer version of Visual Studio. If you installed Python in the C:\ root directory, the batch file should find it automatically. Otherwise, edit this batch file to indicate where the Python include/lib directories are located. Build App_SharedMemoryPhysics_VR project in Release mode.

We can then install Assistive VR Gym and all the required dependencies.

git clone https://github.com/Healthcare-Robotics/assistive-vr-gym.git
cd assistive-vr-gym
pip install .

If you want to make changes to Assistive Gym code without having to reinstall, install Assistive VR Gym in editable mode.

pip install -e .