Integrates live sensor feeds into the HoloLens mixed reality display. A demo would be to use a large print out of the SLS rocket engine, attach some temperature and pressure sensors to it. Feed the streams into the HoloLens so the view is able to visualize live sensor readings while watching a rocket test. Simulated in our case.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See Deployment for notes on how to deploy the project on a live system.
Following this Microsoft guide you'll need:
- Visual Studio 2017
- Select the Universal Windows Platform development workload
- Select the Game Development with Unity workload
- You may deselect the Unity Editor optional component since you'll be installing a newer version of Unity below
- Unity 2017.2
- Make sure to select the Windows Store .NET Scripting Backend (you may install the docs as well)
- You will have to use the Personal version of Unity for it to be free
- Vuforia
- Vuforia is now integrated with the Unity Editor (above), so just make sure that component is installed with your copy of Unity
- Windows 10 Fall Creators Update (version 1709)
- Necessary for some Unity and Vuforia components to function properly, and for deployment
- *Optional: HoloLens Emulator and Holographic Templates
- Your system must support Hyper-V for the Emulator installation to succeed
- Open File > Build Settings window.
- Click Add Open Scenes to add the scene.
- Change Platform to Universal Windows Platform and click Switch Platform.
- For Target Device, switch to HoloLens.
- UWP Build Type should be D3D.
- UWP SDK may be left as Latest installed.
- Check Unity C# Projects under Debugging.
- Click Build.
- In the file explorer, click New Folder and name the folder "App" (proceed to next step if an App folder already exists).
- With the App folder selected, click the Select Folder button.
- When Unity is done building, a Windows File Explorer window will appear.
- Open the App folder in file explorer.
- Open the generated Visual Studio solution (HoloLensIRAD.sln for this project).
Now that we've exported the Visual Studio solution, we can deploy it to the device.
- Using the top toolbar in Visual Studio, change the target from Debug to Release and from ARM to x86.
- Click on the arrow next to the Local Machine button, and change the deployment target to Remote Machine.
- Enter the IP address of the HoloLens (this is found by running the Holographic Remoting Player app installed on the HoloLens) and change the Authentication Mode to Universal (Unencrypted Protocol) for HoloLens and Windows for other devices.
- Click Debug > Start without debugging.
- If the deployment succeeds, you can perform the Bloom gesture while wearing the HoloLens, and the solution will be installed as an app on the device menu.
If this is your first deployment, you'll need to pair Using Visual Studio
- Visual Studio 2017 - C# scripting
- Unity 2017.2 - Graphics modeling engine
- Vuforia - Image target recognition and tracking
- Scott Knight - scott.knight@geocent.com