d/steamvr_lh: Map TrackingResult to tracked 6DoF/3DoF
- Running_OK → tracked 6DoF:
ORIENTATION_TRACKED | POSITION_TRACKED |
ANGULAR_VELOCITY_VALID | LINEAR_VELOCITY_VALID.
- Fallback_RotationOnly and Running_OutOfRange → tracked 3DoF:
ORIENTATION_TRACKED | ANGULAR_VELOCITY_VALID.
(No POSITION_TRACKED; no LINEAR_VELOCITY_VALID.)
- Calibrating_* results are not marked TRACKED.
When poseIsValid, keep ORIENTATION_VALID and POSITION_VALID, but gate
TRACKED and velocity-valid flags on the SteamVR result to avoid treating
inferred poses as actively tracked and to reduce drift/jumps.
Refs:
- OpenVR Driver API: TrackingResult_* semantics
https://github.com/ValveSoftware/openvr/blob/master/docs/Driver_API_Documentation.md
- OpenXR: XrSpaceLocationFlagBits (valid vs tracked)
https://registry.khronos.org/OpenXR/specs/1.1/man/html/XrSpaceLocationFlagBits.html
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2574>
authored by