Warning
This repository is for ROS 1 only.
This is a Unity project for the Interactive Cleanup task of the RoboCup@Home Simulation.
Please prepare a common unitypackage in advance, and import the unitypackage to this project.
For details of using the common unitypackage, please see an instruction in the following repository:
https://github.com/RoboCupatHomeSim/common-unity.git
See also wiki page.
Same as below for OS and Unity version. https://github.com/RoboCupatHomeSim/documents/blob/master/SoftwareManual/Environment.md#windows-pc
- Download SteamVR Unity Plugin v2.7.3 from the following link.
https://github.com/ValveSoftware/steamvr_unity_plugin/releases/download/2.7.3/steamvr_2_7_3.unitypackage - Open this project with Unity.
- Click [Continue] in the [Unity Package Manager Error] window.
- Click [Ignore] in the [Enter Safe Mode?] window.
- Click [Assets]-[Import Package]-[Custom Package...].
- Select a common unitypackage (e.g. robocup-common.unitypackage) and open the file.
- Click [Import] button.
- Click [Assets]-[Import Package]-[Custom Package...].
- Select the steamvr_2_7_3.unitypackage and open the file.
- Click [Import] button.
- Click [Assets]-[Reimport All].
- Click [Reimport] button.
- Please confirm that no error occurred in Console window.
If you want to output speech, please do the following two steps.
Please install the English language if you are using other than English.
The procedure is like as follows.
- Open the Windows settings menu
- Click [Time & Language] - [Region & language]
- Click [Add a language] in [Languages]-[Preferred languages]
- Select "English (United States)" and Install
Please import files by following the steps below.
- Prepare "ConsoleSimpleTTS.exe" and "Interop.SpeechLib.dll".
For details on these files, see here. - Copy those files to the "TTS" folder in the same directory as SIGVerseConfig folder.
- Create a "Build" folder under this project folder.
- Open this project with Unity.
- Click [File]-[Build Settings].
- Click [Build]
- Select the "Build" folder , and type a file name (e.g. InteractiveCleanup) and save the file.
- Copy the "TTS" folder under the "Build" folder.
- Open this project with Unity.
- Click [SIGVerse]-[SIGVerse Settings].
SIGVerse window will be opened. - Type the IP address of ROS to "Rosbridge IP" in SIGVerse window.
Please start the ROS side application beforehand.
See interactive-cleanup-ros for an example application.
- Click [SIGVerse]-[Set Default GameView Size].
- Double click "Assets/Competition/InteractiveCleanup/InteractiveCleanup(.unity)" in Project window.
- Click the Play button at the top of the Unity editor.
- Double Click the "InteractiveCleanup.exe" in the "Build" folder.
Please see wiki page for more details.
If you want to use the data generation mode, you need to prepare your VR device.
Please install Steam and SteamVR on your PC. Download the installer from the official website and install it.
And please install Oculus Software to use Oculus Headsets. Oculus Link is also required.
This project is licensed under the SIGVerse License - see the LICENSE.txt file for details.