OPCFoundation / UA-CloudMetaverse

OPC UA Metaverse reference implementation leveraging Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UA-CloudMetaverse

OPC UA Industrial Metaverse reference implementation leveraging Unity and the Digital Twin Consortium's Manufacturing Ontologies Reference Solution.

screenshot

Prerequisits

  1. A PC with at least 16 GB of memory and a modern graphics card with at least 6 GB of memory.
  2. A Microsoft Mixed Reality Toolkit-compatible Virtual Reality or Augmented Reality headset.
  3. An Azure subscription. If you don't have one, you can start with a free subscription from here.

Installation & Running the Reference Implementation

  1. Download this repository to a directory of your choice from here.
  2. Obtain a license for Unity from here.
  3. Install the Unity Hub version 3.4.1 from here.
  4. Install the Unity Editor version 2021.3.45f1 from here.
  5. Install Visual Studio 2022 and the Visual Studio tools for Unity.
  6. Install the Digital Twin Consortium's Manufacturing Ontologies Reference Solution from here.
  7. Run the OPC UA simulation as described here.
  8. Create an application registration for your ADX instance as described here. Copy the client secret to a safe place.
  9. In the C# file under the downloaded repository path /Assets/Scripts/SignalR/ADXService.cs, update the variables applicationClientId, adxInstanceURL, adxDatabaseName and tenantId with the data from our Azure Data Explorer instance, new app registration you have just completed and your Active Directory available in the Azure Portal.
  10. Open the Unity project through the Unity Hub, in the Unity Editor select the ADTConnection in the Hierarchy panel. In the Inspector panel, provide the client secret copied previously in the Url field.
  11. Select Bing Maps Operate in the Hierarchy panel and provide a Bing Maps SDK key in the Developer Key field. A Bing Maps SDK key can be obtained from here.
  12. Put on your Virtual Reality or Augmented Reality headset and build and run the scene.

About

OPC UA Metaverse reference implementation leveraging Unity

License:MIT License


Languages

Language:ShaderLab 54.1%Language:C# 41.0%Language:HLSL 4.8%