Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Adaptive UI for Walking and Encumbrance in Mixed Reality

This repository contains the Unity project for my honours thesis on context-aware mixed reality interaction. I built an on-device sensing pipeline that detects walking and hand encumbrance, and I use that context to adapt Fitts' Ring target acquisition tasks to preserve usability.

Thesis PDF: Jingwei_Honours_Thesis.pdf

Highlights

  • I detect walking on-device from headset motion patterns.
  • I detect hand encumbrance using OVR hand tracking (finger curls, pinch, and wrist stability).
  • I adapt UI parameters (target size and ray visibility) based on context.
  • I evaluate direct poke and ray-casting Fitts' Ring tasks with adapted and baseline conditions.
  • I log task performance and sensing signals to CSV for analysis.

Scenes

  • Assets/Scenes/00_StartDialog.unity - entry dialog and study flow start.
  • Assets/Scenes/00_Tutorial.unity - practice tasks.
  • Assets/Scenes/00_SceneLoader.unity - scene sequencing for study blocks.
  • Assets/Scenes/01_FittsPoke.unity - direct hand selection with adaptation.
  • Assets/Scenes/02_FittsPokeNoAdapt.unity - direct hand selection baseline.
  • Assets/Scenes/03_FittsRay.unity - ray-casting selection with adaptation.
  • Assets/Scenes/04_FittsRayNoAdapt.unity - ray-casting baseline.
  • Assets/Scenes/05_EndDialog.unity - end dialog.
  • Assets/Scenes/DetectionDebug.unity - detection debug scene.
  • Assets/Scenes/MixedRealityDefaultScene.unity - Meta XR default scene.

Requirements

  • Unity 2022.3.12f1 (LTS).
  • Meta XR SDK 64.0.0.
  • Android build support for Unity.
  • Target device: Meta Quest (tested on Quest 3S).

Setup

  1. Open the project in Unity 2022.3.12f1.
  2. Let Unity resolve packages (Meta XR SDK and dependencies are listed in Packages/manifest.json).
  3. Open Assets/Scenes/00_StartDialog.unity and press Play, or build to Android for device testing.

Build Notes

  • Build target: Android.
  • Bundle identifier: com.MRSensingMechanismAdaptation.Experiment.

Data Logging I write CSV logs to Unity's Application.persistentDataPath.

Files are created per scene with timestamps, for example:

  • <SceneName>_<timestamp>.csv
  • <SceneName>_Full_<timestamp>.csv
  • <SceneName>_Walking_<timestamp>.csv
  • <SceneName>_Encumbrance_<timestamp>.csv

Typical locations:

  • Windows Editor: %USERPROFILE%\AppData\LocalLow\MRSensingMechanism&Adaptation\Experiment
  • Quest device: /sdcard/Android/data/com.MRSensingMechanismAdaptation.Experiment/files

Core Scripts

  • Walking detection: Assets/myScript/Detection/WalkDetector.cs
  • Encumbrance detection: Assets/myScript/Detection/HandEncumbranceDetector.cs
  • Adaptation behaviors: Assets/myScript/Adaptation/Unfurling.cs, Assets/myScript/Adaptation/Cloaking.cs
  • Logging: Assets/myScript/SceneManager/Logger.cs

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages