Class HeadTrackingManager
java.lang.Object
eu.svjatoslav.aukio.e3d.gui.headtrack.HeadTrackingManager
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 aHeadLookControllerto 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
-
-
Method Details
-
start
public void start() -
getTracker
Active tracker, or null when no glasses are connected. -
stop
public void stop()
-