This is a Unity project for the competition of Human Navigation task of the Partner Robot Challenge (Virtual Space) in the World Robot Competition.
Please prepare a common unitypackage and a dll file for text-to-speech (TTS) in advance, and import them to this project.
For details of using the common unitypackage, please see an instruction in the following repository:
https://github.com/PartnerRobotChallengeVirtual/common-unity.git
For details of creating the dll for TTS, please see the following repository:
https://github.com/PartnerRobotChallengeVirtual/console-simple-tts
- OS: Windows 10
- Unity version: 2018.4.3f1
- Prepare a common unitypackage (e.g. wrs-virtual-common.unitypackage).
- Open this project with Unity.
- Click [Assets]-[Import Package]-[Custom Package...].
- Select and open the common unitypackage.
- Click [Import] button.
- Download Oculus Utilities for Unity ver.1.28.0 from the following link.
https://developer.oculus.com/downloads/package/oculus-utilities-for-unity-5/1.28.0/ - Unzip the downloaded file.
- Open this project with Unity.
- Click [Assets]-[Import Package]-[Custom Package...].
- Select and open "OculusUtilities.unitypackage".
- Click [Import] button.
- Click [Yes] on "Update Oculus Utilities Plugin" window.
- Click [Restart] on "Restart Unity" window.
- Prepare "ConsoleSimpleTTS.exe" and "Interop.SpeechLib.dll".
- Copy those files to the [TTS] folder in the same directory as README.md.
- Create a "Build" folder in this project folder.
- Open this project with Unity.
- Click [File]-[Build Settings].
- Click [Build].
- Select the "Build" folder.
- Type a file name (e.g. HumanNavigation) and save the file.
- 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.
- Open the [SIGVerseConfig]-[HumanNavi]-[sample] folder in this project folder.
- Copy "HumanNaviConfig.json" to the [SIGVerseConfig]-[HumanNavi] folder.
(Note: If there is no configuration file in the HumanNavi folder, a configuration file will be automatically copied from the sample folder when the Unity project is opened.)
- Double click "Assets/Competition/HumanNavi/HumanNavi(.unity)" in Project window.
- Click the Play button at the top of the Unity editor.
- Copy the "SIGVerseConfig" folder into the "Build" folder.
- Double Click the "HumanNavigation.exe" in the "Build" folder.
This project is licensed under the SIGVerse License - see the LICENSE.txt file for details.