Skip to content

This repository contains an Ankle Surgery Training-System I programmed in Unity as a bachelor-thesis.

Notifications You must be signed in to change notification settings

leon-rgb/Training-System

Repository files navigation

Training System

ezgif-42a514c56da32f

Overview

This repository contains a prototype VR surgery training system developed as a Bachelor Thesis. The core idea is to let instructors define arbitrary “cutting planes” on a virtual bone model, then allow trainees to practice sawing along those planes in VR while collecting accuracy metrics. Two input methods are supported:

  • Controller Version: Uses standard VR controllers (e.g., HTC Vive Pro) for basic vibration feedback.
  • SenseGlove Version: Uses SenseGlove DK1 haptic gloves for richer force and vibrotactile feedback.

Screenshot_2 Both Versions of the prototype use the CuttingPlaneCreation.unity scene for managing Cutting Planes.

A separate non-VR scene is provided for creating and managing cutting planes that are stored for later use in the VR simulator.

The structure of the of the application consists of three scenes:

Screenshot_1

To chose what version you want to use, you have to change the version.txt file in this repository. This is not transfered if you make a build of the application. The version file is created when first starting and can be found in the folder /VR Surgery Training System_Data then.

Core Functionality

  1. Cutting Plane Creation (Non-VR Scene)

    • Instructors place three control spheres on a bone model to define a closed cutting curve.
    • The system extrapolates this curve into a full 3D cutting surface (plane).
    • Multiple planes can be created, visualized, and saved for reuse in VR sessions.
    • Scene name: CuttingPlaneCreation.unity Screenshot_1 Screenshot_3
  2. VR Training Simulation

    • Loads a selected cutting plane into the VR environment (either controller or SenseGlove version).
    • Trainees use a virtual saw to cut along the predefined plane.
    • Real-time metrics are computed on each slice, including:
      • Number of times cut too deep
      • Maximum depth overshoot
      • Percentage of cut segments within the target plane
    • Metrics are displayed on a virtual whiteboard during the session and saved to disk for post-session analysis. roomView screenshot_1749025621984 screenshot_1749025558867
  3. Input & Haptic Feedback

    • Controller Version:
      • Scene: Controller_SurgeryRoom.unity can be found in /VR Training System/Assests/Scenes
      • Uses SteamVR controllers (HTC Vive to be exact) for positional tracking and basic vibration feedback.
      • Ensure only the active controllers/trackers are enabled before entering the VR scene.
    • SenseGlove Version:
      • Scene: Gloves_SurgeryRoom.unity can be found in /VR Training System/Assests/Scenes
      • Uses SenseGlove DK1 for force-feedback and vibrotactile cues.
      • Provides a higher level of immersion but requires the SenseGlove SDK and hardware to be connected and configured.
  4. Metrics & Data Logging

    • During each trial, the system tracks:
      • Total cut length vs. planned plane
      • Depth deviations (too shallow or too deep)
      • Time to complete the cut
    • Results are rendered on a virtual whiteboard for immediate feedback and stored as log files (CSV or JSON) in the application’s data folder.
    • Researchers can use these logs to compare user performance across different haptic feedback conditions. operationView1 1

Windows Builds, demo videos and in detail documentation of the system can be found here:

Google Drive Link
One Drive Link

Versions, Plugins, SDKs, ...

It uses Unity Version: 2020.3.3f1 [lower versions are not recommended].
The repository uses git lfs --> should be activated

Packages that are not linked can be found directly in the Unity Package Manager or the Asset Store.

Findings of the thesis / study

In a user study comparing the two input methods, haptic gloves significantly enhanced immersion, but controller‐based feedback scored higher on usability and imposed a significantly lower mental and physical workload. A medical expert validated the system’s feasibility for orthopedic training, confirming it can support practical surgical skill development.

For more details have a look at my complete thesis publication

About

This repository contains an Ankle Surgery Training-System I programmed in Unity as a bachelor-thesis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published