Commit graph

5677 commits

Author SHA1 Message Date
Mateo de Mayo 6b323209b2 t/vit: Return success from vit_get_proc
Closes #322
2024-02-09 19:26:51 +00:00
Mateo de Mayo a10644c873 d/wmr: Properly compute hand tracking boundary circle 2024-02-09 19:26:51 +00:00
Mateo de Mayo a9b85c99c6 d/vive: Use raw imu samples for slam 2024-02-09 19:26:51 +00:00
Mateo de Mayo 6afed4dc4a d/{rift_s,vive,ns}: Share hand bounding box with head tracker 2024-02-09 19:26:51 +00:00
Mateo de Mayo eadc592c04 t/slam: Push hand masks to tracker 2024-02-09 19:26:51 +00:00
Mateo de Mayo e79d2d395f h/mercury: Push hand rect masks to the SLAM tracker sinks 2024-02-09 19:26:51 +00:00
Mateo de Mayo 4cfe58a5e9 t/slam: Add hand_masks sink 2024-02-09 19:26:51 +00:00
Mateo de Mayo 717336fa88 t/slam: Print VIT error numbers 2024-02-09 19:26:51 +00:00
Mateo de Mayo db40cc2e73 t/slam: Make default of VIT_SYSTEM_LIBRARY_PATH consistent with other envvar defaults 2024-02-09 19:26:51 +00:00
Korcan Hussein d9ef028df9 a/util,st/oxr: Fixes crash bug with XR_EXT_dpad_binding
Crash occurs after multiple session runs with clients using
`XR_EXT_dpad_binding`, this is was caused be not full deep cloning of
interaction profiles with dpad_state
2024-02-08 15:52:37 +00:00
Korcan Hussein cfa545b43c st/oxr: Fixes getting current interaction profile paths
oxr_session's active profile paths where not being cleared on attachments/
updates, causing calls to `xrGetCurrentInteractionPath` to return valid
paths of particular hand that where previously bound and became unbound.
2024-02-08 15:52:37 +00:00
Korcan Hussein a40599d315 a/math: Fix const-correctness in m_relation_history 2024-02-08 15:52:37 +00:00
Korcan Hussein 59b8d3a955 st/oxr: Separate out dynamic roles and associated profiles
Separates the role xdev indices and associated interaction
profile (names) from dynamic roles so that interaction profiles
can be method active and have action (set) attachements updated
without bindings and no requirement for an xrt-device for
a particular hand.

E.g. driver can make left & right with a paritcular profile (name) and
have either both not have an xrt-device ready/unassigned but OpenXR apps
can still sync/query actions states on the not read/unassigned hands,
this also fixes CTS action tests when the hand is constrained to certain
hand, in particular the right hand.

Co-authored-by: Robbie Bridgewater <ebridgewater@magicleap.com>
2024-02-08 15:52:37 +00:00
Korcan Hussein 36d5d4224c st/oxr: reset any_pose_subaction_path before update 2024-02-08 15:52:37 +00:00
Robbie Bridgewater fd9795b4de ipc/server: Allow skipping epoll of stdin via env variable 2024-02-08 15:52:37 +00:00
Christoph Haag 2f5da783cc ipc: forward result of xrWaitSwapchainImage
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
2024-02-08 15:52:37 +00:00
Julian Petrov 2f3a6e13bc ipc: Set timeBeginPeriod(1) globally on Windows
Monado upstream sets timeBeginPeriod(1) on calls to sleep, we
have seen that it helps with things inside of the NVIDIA driver.
2024-02-08 15:52:37 +00:00
Rylie Pavlik 46c443baa0 a/math: Clarify comments in relation history 2024-02-07 13:36:38 -06:00
Rylie Pavlik 328b9c7c5d c/null: Simplify and improve 2024-02-07 13:36:38 -06:00
Rylie Pavlik 33000bbd2c d/simulated: Use more generic variable names 2024-02-07 13:36:38 -06:00
Rylie Pavlik 4948ec8291 d/simulated: Fix log macros 2024-02-07 13:36:38 -06:00
Rylie Pavlik 884b8f2bcc d/rokid: Fix log macros 2024-02-07 13:36:38 -06:00
Rylie Pavlik 6b2a0e76f0 d/sample: Clean up sample HMD, use m_relation_history, populate mesh 2024-02-07 13:36:38 -06:00
Pingping Meng b5df7f1761 doc: Document !2129 2024-02-02 05:14:55 +00:00
Pingping Meng fd816c838f st/oxr: Add extension XR_FB_composition_layer_depth_test 2024-02-02 05:14:55 +00:00
Ryan Pavlik 663544aa3e t/common: Silence some warnings 2024-02-01 10:51:42 -06:00
Ryan Pavlik a36cad975c d/wmr: Silence some warnings. 2024-02-01 10:51:42 -06:00
Mateo de Mayo a8fc75cb4a u/space: Fix non-void function not returning 2024-02-01 10:51:01 -06:00
Weijie Wang e1f02b4629 os/threading: fix assert in debug build 2024-01-26 02:36:23 +00:00
Christoph Haag 67e61811b5 d/survive: Fall back to default ipd if 0 reported 2024-01-25 13:49:36 +01:00
Mateo de Mayo 93ad858d18 t/slam: Fix uninitialized pointer
Closes #317
2024-01-22 16:25:39 -03:00
Simon Zeni 0cb96a1643 aux/tracking: remove MatFrame class from t_tracker_slam 2024-01-17 15:15:03 -05:00
Simon Zeni 1264f385b0 external: remove old slam_tracker interface 2024-01-17 15:15:03 -05:00
Simon Zeni b14612e48a d/*: pose correction for VIT system 2024-01-17 15:15:03 -05:00
Simon Zeni 170d38978e cmake: remove XRT_HAVE_BASALT & XRT_HAVE_KIMERA 2024-01-17 15:15:03 -05:00
Simon Zeni 2f9d3b2e47 aux/tracking: use VIT interface in slam tracker 2024-01-17 15:15:03 -05:00
Simon Zeni 66027fc989 aux/tracking: introduce VIT loader 2024-01-17 15:15:03 -05:00
Bailey Morgan 20cb556f6d cmake: Remove unused ffmpeg dependency 2024-01-16 16:43:35 -05:00
Jakob Bornecrantz 57e9373839 c/main: Refactor how surface formats are handled 2024-01-16 11:43:41 -05:00
Jakob Bornecrantz a6e9893f99 c/main: Refactor arguments to comp_target::create_images 2024-01-16 11:43:41 -05:00
Christoph Haag a0f3fa2c4f d/remote,steamvr_lh,survive_driver: Add stage_supported implementation 2024-01-16 03:11:42 +01:00
Christoph Haag 05db9e9b99 u/space_overseer: Create STAGE as pose space when stage_supported on head 2024-01-16 03:10:35 +01:00
Christoph Haag 22314ca14b xrt: Add stage_supported to xrt_device 2024-01-16 03:10:35 +01:00
Sefa Eyeoglu 0df6f9606b
xrt: prevent systemd from starting Monado quickly
If an OpenXR client starts Monado using socket activation, but Monado
crashes during its startup, systemd will try to start the service for
each subsequent IPC message, which causes both units to enter a failed
state.

By enabling
[`FlushPending`](https://www.freedesktop.org/software/systemd/man/latest/systemd.socket.html#FlushPending=),
systemd will flush pending messages and close the connection to the IPC
client, preventing restarts in quick succession.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-01-12 11:39:31 +01:00
Christoph Haag ceae41a7bd d/steamvr_lh: Add vive and index bindings 2024-01-10 13:55:20 +01:00
Christoph Haag bdb390b497 d/steamvr_lh: Choose the first tracking universe that is found
lighthousedb.json may contain many more tracking universes than are
actually configured in chaperone_info.vrchap.
2024-01-10 12:50:49 +01:00
Jakob Bornecrantz 4156ea07a5 st/gui: Add infinitely fast trigger finger in remote UI
Makes it easier to pass interactive action CTS test.
2024-01-08 18:56:58 +00:00
Jakob Bornecrantz cb1b20871f c/main: Let sub-classed targets override compositor extents 2024-01-08 16:59:51 +00:00
Jakob Bornecrantz 141046585d c/main: Don't use list of display if we fail to allocate it 2024-01-08 16:59:51 +00:00
Jakob Bornecrantz 4a2eebdc69 c/main: Tidy target code [NFC] 2024-01-08 16:59:51 +00:00