This is a Unity project for the competition of Human Navigation task of the RoboCup@Home Simulation.
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/RoboCupatHomeSim/common-unity.git
For details of creating the dll for TTS, please see the following repository:
https://github.com/RoboCupatHomeSim/console-simple-tts
Same as below for OS and Unity version. https://github.com/RoboCupatHomeSim/documents/blob/master/SoftwareManual/Environment.md#windows-pc
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.
- 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.
- Click [Edit]-[Project Settings...].
- Check [XR Plug-in Management]-[Initialize XR on Startup].
- Check [XR Plug-in Management]-[Plug-in Providers]-[OpenVR Loader].
- Close [Project Settings] Window.
- Please confirm that no error occurred in Console 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.
- 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 human-navigation-ros for an example application.
On the Windows side, launch Oculus Software and connect the VR headset to the PC via Oculus Link (Oculus Air Link), and also launch SteamVR and set the VR headset to standby.
- Click [SIGVerse]-[Set Default GameView Size].
- Double click "Assets/Competition/HumanNavi/HumanNavi(.unity)" in Project window.
- Click the Play button at the top of the Unity editor.
- Double Click the "HumanNavigation.exe" in the "Build" folder.
- If you want to use the translation feature, see below.
https://github.com/RoboCupatHomeSim/human-navigation-ros/wiki/RosMessage#guidance-message
https://github.com/RoboCupatHomeSim/translation-library-for-human-navi/wiki
This project is licensed under the SIGVerse License - see the LICENSE.txt file for details.