Installation¶
Roboy and its behavior is simulated on the virtual machine via ROS. Important information regarding roboy’s movement are then sent through a ROSBridge(e.g. messages) towards Unity. In Unity roboy is rendered and constantly updated concerning positions, rotations, etc. With the help of a VR-Headset you can watch roboy move around in a virtual space.
This tutorial will help you setup roboyVR with all necessities it comes with.
Part 1: Setup Virtualbox with Ubuntu [OPTIONAL]¶
- Download and install Virtualbox for your OS https://www.virtualbox.org/
- Download Ubuntu 16.04 (64bit) https://www.ubuntu.com/download/desktop
- Mount the .iso and setup Virtualbox with the following settings (if available):
- 4 cores (Settings->System->Processor)
- 6 GB of RAM (Settings->System->Motherboard)
- 128 MB of VRAM (Settings->Display->Screen)
- 30 GB HDD space (Settings->Storage)
- Set network settings to Bridged-Adapter or Host-Only Adapter
Part 2: Simulation Setup¶
Follow the setup instructions on the main Roboy repository.
On top of that it may be necessary to update the submodules of this repository:
cd /path-to-roboy-repository/
git submodule update --recursive --remote
There may also occur an error that says that you need to install the OpenPowerlink stack library. In that case follow the instructions on the OpenPowerlink Homepage. The OpenPowerlink folder lies in the roboy_powerlink folder.
Part 3: Unity Setup¶
- Download Unity
- (latest working version with roboyVR is 2017.1.0: https://unity3d.com/de/get-unity/download/archive)
- Install Unity
- During the install process make sure to check also the standalone build option.
- Visual studio is recommended to use with Unity3D, as it is free and more user friendly than MonoDevelop (standard option).
- Download this project
- Clone this github repository (master branch) to your system: https://github.com/roboy/roboyVR.git
- Command: git clone -b master https://github.com/roboy/roboyVR.git
Part 4: Blender & Python¶
- Install the latest version of Blender
- Install the latest version of Python
- Install the PyXB: Python XML Schema Bindings
- After installation, add the Python executable directories to the environment variable PATH in order to run Python. (Windows 10: http://www.anthonydebarros.com/2015/08/16/setting-up-python-in-windows-10/)