Class HeadTrackingManager

java.lang.Object
eu.svjatoslav.aukio.e3d.gui.headtrack.HeadTrackingManager

public final class HeadTrackingManager extends Object
Hot-plug manager for XR glasses head tracking. Polls for RayNeo glasses every two seconds:
  • glasses plugged in → open the HID pipe, start a HeadTracker, attach a HeadLookController to the view's frame listeners
  • glasses unplugged (tracker read fails) → stop the tracker and detach the controller, so the camera is no longer driven by a dead device
  • plugged back in → fresh tracker, fresh boot recenter

Permission failures are reported once, then retried silently — the user may install the udev rule while the application is running.

  • Constructor Details

    • HeadTrackingManager

      public HeadTrackingManager(ViewPanel viewPanel)
  • Method Details

    • start

      public void start()
    • getTracker

      public HeadTracker getTracker()
      Active tracker, or null when no glasses are connected.
    • stop

      public void stop()