Skip to content

OPC UA Metaverse reference implementation leveraging Unity

License

Notifications You must be signed in to change notification settings

OPCFoundation/UA-CloudMetaverse

Repository files navigation

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 Virtual 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 latest Unity Hub version from here.
  4. Install the latest Unity Editor version from here.
  5. Install Visual Studio 2022 and the Visual Studio tools for Unity.
  6. Install any additional Unity SDK you may need for your particular VR headset.
  7. Install the Azure Industrial IoT Reference Solution from here.
  8. Run the OPC UA simulation as described here.
  9. Create an application registration for your ADX instance as described here. Copy the client secret to a safe place.
  10. 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 your Azure Data Explorer instance, as well as from the new app registration you have just completed and from your Active Directory instance available in the Azure Portal.
  11. 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.
  12. 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.
  13. Put on your Virtual Reality headset and build and run the scene.

About

OPC UA Metaverse reference implementation leveraging Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published