Skip to content

Latest commit

 

History

History
81 lines (48 loc) · 2.97 KB

README.md

File metadata and controls

81 lines (48 loc) · 2.97 KB

Coup d'Oeil

Mixed Reality Application for Autonomous Movement Framework

HoloLens project

Load the Unity project

  • 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.

Unity load project page

Open project button

Project folder

  • You have accessed to Unity project.

Unity project opened

Compile the Unity project

  • Open the Unity project.
  • On the left-top corner, select the tab called 'HoloToolkit', and click on 'Build Window'.

Holotoolkit Build tab

Holotoolkit 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'

IMPORTANT

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 and run Unity Project

  • Open the SLN project (Explained in 'Compile the Unity project' section)

SLN project

  • Change the run parameters to 'Debug' and 'x86'.

Debug params

Load the project using HoloEmulator (Windows emulator)

HoloLens emulator

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.

Load the project using Real Device (Windows Hololens)

  • 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).

HoloLens emulator