The AR app is designed for the IoT-based module in PLUGSi.
The app is built with the Unity game development platform, meaning it is a mobile app developed in Unity. Augmented reality is included using the Vuforia SDK with image targeting (Image Targets represent images that Vuforia Engine can detect and track).
The MQTT protocol is used to communicate with a broker. It is coded in C# within the Unity app scripts.
The Unity app integrates several free add-ons:
- UI Button Pack 2
- Safe Area Helper
- Lean GUI
- Lean Touch
The Unity app has three pages:
- Intro Page: Continuously running a video.
- Digital Twin Page: Accessible via a button on the Intro page, it activates your camera to find the targeted image.
- Control Page: With the camera on, this page features two buttons:
- PLUGSi: Turns on/off the device connected to the base when the IoT module is connected. It also changes the digital twin's color to red or green to indicate the current status (On or Off).
- Start: Returns you to the Intro page.
