Hololens HUD provides a novel user interface that generates assistive stimuli in the AR headset to optimize users’ task operation.
The server software is distributed as a single appxbundle file.
- Download the latest appxbundle.
- Go to the Device Portal (type the IP address of your HoloLens in the address bar of your preferred web browser) and upload the appxbundle to the HoloLens (System -> File explorer -> Downloads).
- On your HoloLens, open the File Explorer and locate the appxbundle. Tap the appxbundle file to open the installer and tap Install. You can find the server application (Hololens HUD) in the All apps list.
Note: Please, take into account that the Hololens HUD application will be using the NYU's PTG Data Store API. To deploy a local server, please follow the Hololens HUD Deployment (for developers) instructions.
To explore the data generated by the hololens and the models running behind the system, we provides the TIM Dashboard system that is a Hololens data exploration platform developed at New York University. It can be used to ingest new data, explore data generated using Hololens and debug models for AR assistant systems. For an easy and quick look, the system can be found at this address: https://dashboard.ptg.poly.edu/ which is deployed at the NYU server. If you want to deploy a local server, please see Set up the PTG Data Store API for instructions.
Note: Search for all occurrences of <REPLACE_WITH_SERVER_ADDRESS> in the project and replace them with the actual IP address of your server.
To deploy the Hololens HUD system locally, first you need to set up the PTG Data Store API. Instructions are available here.
Enable developer mode in both hololens and Windows PC (see here).
- Drag and drop the scene PTG_hub from Assets > Scenes folder in the Project window to the Hierarchy window, and remove the scene Untitled from the Hierarchy window.
- In the Project window, navigate to the Assets > Plugins folder, then verify the configuration of the following files (from Platform settings > Universal Windows Platform settings):
- HLStreamerUnityPlugin.dll: SDK UWP; CPU ARM64
- HLStreamerUnityPlugin.winmd: SDK UWP; CPU AnyCPU
- The others: SDK: Any, CPU Any
- (Don't forget to click the Apply button)
-
In the menu bar, select File > Build Settings....
-
In the Build Settings window, then verify the Scenes In Build list. This must have the following scenes AND must be sorted as follow:
- Scenes/PTG_hub (0)
- Scenes/PTG_v2 (1)
- Scenes/HLStreamerScene (2)
If there is no scene listed in the Scenes In Build list, then click the Add Open Scenes button to add the previously listed scenes to the Scenes In Build list.
-
Navigate to the Platform > Universal Windows Platform view in the Build Settings window. Changes this parameters:
- Target Device: HoloLens
- Architecture: ARM64
-
Click the Switch Platform button.
-
Click the Build button.
-
In the Build Universal Windows Platform window, navigate to the folder where you want to store your build, or create a new folder and navigate to it (/tim-personal-assistant/Hololens_HUD/Build), and then click the Select Folder button to start the build process.
- Navigate to the folder ../tim-personal-assistant/Hololens_HUD/Build/Hololens HUD/
- Open the file Package.appx.manifest
- Replace the code
<Package … >
for<Package … >
from HLStreamerExample.
For detailed information on how to build and deploy in Hololens check the section ‘(Optional) Build and deploy the application’ here.
- Turn on hololens. USB cable connected Hololens and PC (in case you are using USB Cable). Uninstall the previous app in HoloLens.
- Navigate to the folder ../tim-personal-assistant/Hololens_HUD/Build/
- Click Hololens HUD.sln. Change the configuration to Release, ARM64 and Device. (If want debugging choose debug)
- (Optional) The first time you deploy an app from Visual Studio to your HoloLens, you'll be prompted for a PIN.
- (Important) Set up Hololens IP by clicking Project > Properties > Debugging > Machine Name (Hololens IP can be found in the Hololens settings or by saying out loud "What is my IP" ).
- Build and deploy (if debugging build and directly click Device button). To debug (recommended), click on Debug > Start without debugging
- After your app finishes building, in the HoloLens Start menu, find the app ‘Hololens HUD’, and then select it.
- After the app starts, then start the backend by running
python main.py desktop --holo-ip [ip_address] --send
(first located in that directory ../streaming/python/). The ip_address must be changed.- To find your IP address, on your HoloLens, go to Settings > Updates & Security > For developers. The IP address is listed towards the bottom of the window under Ethernet.
To address possible issues while deploying our app check here.
See here.