ControlGlasses User Guide
Introductionβ
ControlGlasses is the official tool for switching XREAL glasses into 3D mode.
Within the SDK architecture, XREAL follows a client/server model:
- Server: ControlGlasses
- Client: AR applications developed with the XREAL SDK
During runtime, an AR application communicates with ControlGlasses to:
- Access algorithm libraries
- Manage glasses status
- Enable 3D mode and other system services
Relationship with BeamProβ
When using BeamPro, the MyGlasses application already operates as the server, so ControlGlasses does not need to be installed.
Although the two apps share the same purpose, they focus on different scenarios:
- MyGlasses: consumer-oriented, polished UI, broader feature set
- ControlGlasses: lightweight and streamlined for developer testing and debugging
Distribution Scenariosβ
When distributing an AR application:
- End user on BeamPro: No additional installation required; the built-in MyGlasses app acts as the server.
- End user on a compatible Android phone: ControlGlasses must be installed or the AR application will not run.
How ControlGlasses Worksβ
ControlGlasses stores most algorithm libraries centrally instead of bundling them in every APK. When an AR application starts, it dynamically loads the components it needs from ControlGlasses. This keeps the AR app lightweight while letting the server handle heavy algorithm assets and service orchestration.
Benefits of Dynamic Loadingβ
- Keeps AR application APKs significantly smaller
- Lets developers update algorithm libraries simply by updating ControlGlasses
- Avoids republishing or updating the AR application itself
Features of ControlGlassesβ
1. Status Monitorβ
Displays real-time system information such as:
- Expected next action for the AR application
- Current device or system state
- Error messages and troubleshooting hints
This is particularly useful for debugging and development.
2. Firmware Managementβ
- Detects and displays the firmware version of XREAL glasses
- Ensures the device firmware matches the requirements of AR applications
3. Refresh Rate Managementβ
Allows users to adjust the refresh rate of the glasses. The achievable refresh rate depends on three factors:
- Phone display refresh rate (e.g., a 60β―Hz phone limits the glasses to 60β―Hz)
- Glasses refresh-rate setting
- Application-level refresh-rate configuration
All three must be set to a higher value for the glasses to run at that higher refresh rate.
4. Auto-launch Applicationβ
Built for faster developer iteration:
- Select an AR application in ControlGlasses.
- Each time the glasses connect to the phone:
- They automatically switch to 3D mode.
- The selected AR application launches automatically.
This greatly streamlines the testing workflow.