Mixed Reality Application for Autonomous Movement Framework
- Install the Hololens Toolkit, Holotoolkit for direct building of Hololens Applications in unity. It is a Unity Package.
- Download or clone the repository.
- Open Unity, click on Open Project and select the folder that contains the code.
- You have accessed to Unity project.
- Open the Unity project.
- On the left-top corner, select the tab called 'HoloToolkit', and click on 'Build Window'.
- Write a folder name on the top field, and click on 'Build Visual Studio SLN'
- When the build is completed, you can click on 'Open SLN'
If the folder didn't exist before, make sure you have a file called 'Package.appxmanifest' on 'CoupDOeil<name of the folder>\CoupDOeil'.
Open it. It should contain this line:
<Dependencies>
<TargetDeviceFamily Name="Windows.Holographic" MinVersion="10.0.10240.0" MaxVersionTested="10.0.14393.0" />
</Dependencies>
<Capabilities>
<Capability Name="internetClient" />
<Capability Name="internetClientServer" />
<uap2:Capability Name="spatialPerception" />
</Capabilities>
If your file doesn't contain these lines, or it misses some of them, please modify that file.
- Open the SLN project (Explained in 'Compile the Unity project' section)
- Change the run parameters to 'Debug' and 'x86'.
- On the select menu, choose Hololens Emulator (latest version). If this option is not shown, check the installation here https://developer.microsoft.com/en-us/windows/mixed-reality/install_the_tools
Hololens Emulator runs almost every application, but it has some problems with SpatialPerception and dynamic changes. We recomend test your application using the real device.
- On the select menu, choose Device (If your device is connected using USB), or Remote Device (If your device is connected using Wifi. You should know its IP address).