Commit Graph
293 Commits
Author SHA1 Message Date
Patrick Nicolas d61932cc1c Fix frame interval not updated on refresh rate change 2025-03-19 17:43:36 +01:00
galister aa491ab39f fix forced extensions not working for face 2025-03-06 21:04:32 +01:00
Patrick Nicolas 206fc162f1 cleanup hmd constructor 2025-03-02 20:34:32 +01:00
Patrick Nicolas 25e7ee3354 remove wivrn_hmd_destroy 2025-03-02 20:34:32 +01:00
Patrick Nicolas c7ee7246c4 auto get_visibility_mask 2025-03-02 20:34:32 +01:00
Patrick Nicolas e86ebfdadd auto wivrn_hmd_get_battery_status 2025-03-02 20:34:32 +01:00
Patrick Nicolas 098642bcc5 auto wivrn_hmd_get_view_poses 2025-03-02 20:34:32 +01:00
Patrick Nicolas 1ecd14b615 auto wivrn_hmd_get_tracked_pose 2025-03-02 20:34:32 +01:00
Patrick Nicolas 1f29bf8253 remove wivrn_hmd_update_inputs 2025-03-02 20:34:32 +01:00
Patrick Nicolas c4601a6f0b remove wivrn_controller_destroy 2025-03-02 20:34:32 +01:00
Patrick Nicolas 8a757cb612 auto cast for set_output 2025-03-02 20:34:32 +01:00
Patrick Nicolas c0a74ebb48 auto cast for get_hand_tracking 2025-03-02 20:34:32 +01:00
Patrick Nicolas 7b5923495b auto cast for update_inputs 2025-03-02 20:34:32 +01:00
Patrick Nicolas 7a788c42af auto cast for get_tracked_pose 2025-03-02 20:34:32 +01:00
peelz fe8859d30b fix: destroy devices on session shutdown 2025-03-02 17:01:13 +01:00
Patrick Nicolas 3e6b53e163 Hold the pacer lock a little less 2025-02-27 11:24:45 +01:00
Patrick Nicolas dbcab721af Only update bindings if we are active controllers 2025-02-26 17:32:46 +01:00
Patrick Nicolas f102c62ae7 Always expose palm pose
Same as grip if the headset doesn't support it
2025-02-23 20:55:11 +01:00
TheRainTrain 467d3aad88 Use correct enum name in get_name 2025-02-23 14:05:12 +01:00
TheRainTrain f108c26dd5 Add Pico 4s/4 Ultra/A9210 interaction profile (non-breaking change) 2025-02-23 14:05:12 +01:00
Patrick Nicolas 058b345a82 Revert "Set wivrn hmd as last xdev"
This reverts commit b337800146.
2025-02-21 21:54:14 +01:00
Patrick Nicolas be7c0862bb Some wivrn_controller refactoring 2025-02-21 18:42:26 +01:00
Patrick Nicolas 3f6ca12cb0 rename WiVRn controllers 2025-02-21 18:42:26 +01:00
Patrick Nicolas 9fdb972fb2 Log interaction profile change 2025-02-21 18:42:26 +01:00
Patrick Nicolas 86a12d27dc Add definitions for more interaction profiles 2025-02-21 18:42:26 +01:00
Patrick Nicolas ad9020193d Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2025-02-21 18:42:26 +01:00
Patrick Nicolas b337800146 Set wivrn hmd as last xdev
This fixes an issue when other devices are detected as HMD, for instance
with the lighthouse driver.
2025-02-21 11:57:02 +01:00
Patrick Nicolas 4238c9ad50 Fix pacer being updated every frame 2025-02-17 18:28:14 +01:00
Guillaume Meunier 23785eb02e Update flatpak runtime 2025-02-17 13:46:41 +01:00
Patrick Nicolas b87345a180 Release lock before calling exit() 2025-02-15 10:08:18 +01:00
Patrick Nicolas 0dbc4a5ef4 Compute extrapolation time with actual samples 2025-02-14 21:15:51 +01:00
Patrick Nicolas ffabc94aee Discard outdated tracking data 2025-02-14 21:03:30 +01:00
Patrick Nicolas d46d5b7bc5 Fix pacer broken by 5b6de6 2025-02-12 10:12:19 +01:00
Patrick Nicolas 5b6de61395 Fix pacer crash when no sample is available 2025-02-08 15:42:06 +01:00
galister 261bb2c600 pass through HTC_facial_tracking 2025-02-08 10:24:15 +01:00
Patrick Nicolas a79bb781ae Use a property for bitrate 2025-02-07 19:00:34 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas 5fd77f3b39 lock-free clock_offset 2025-02-06 20:41:08 +01:00
Patrick Nicolas 39d5e6b87b allocation-less history 2025-02-06 20:05:21 +01:00
Patrick Nicolas d1c2c24473 simplify pose_list::convert_pose 2025-02-06 19:17:24 +01:00
Patrick Nicolas 8e3fd52363 lock-free derived poses 2025-02-06 19:03:11 +01:00
Patrick Nicolas 6c73d5f2cc Offload on_feedback procdessing 2025-02-06 18:11:16 +01:00
Patrick Nicolas ab47d95a68 minor lock improvement 2025-02-06 17:46:28 +01:00
Patrick Nicolas a6c64f297d Implement derived poses
Client can describe a pose to be derived from an other one, for instance
AIM can be derived from GRIP by applying an offset and rotation.
This reduces the amount of data that needs to be polled and transmitted
over the network.
2025-01-31 15:35:28 +01:00
Patrick Nicolas 06b5fd7e6c Send both min and max prediction times 2025-01-30 08:58:31 +01:00
Patrick Nicolas 8025adf35a cosmetic changes 2025-01-29 23:10:41 +01:00
Mylah 30b38bd3e9 Add an option for palm from grip 2025-01-29 15:48:44 -06:00
Patrick Nicolas 413fadaeb9 Add WIVRN_DUMP_TRACKING for controller pose 2025-01-27 23:43:39 +01:00
Patrick Nicolas f7f0ae60bb Allow service publication to be set in json 2025-01-24 21:53:22 +01:00
Patrick Nicolas 5cea08dd3c Discard predictions only when they can be replaced 2025-01-17 13:21:54 +01:00