Commit Graph
278 Commits
Author SHA1 Message Date
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
Sapphire fbc10de9c7 append "on WiVRn" to systemName 2025-01-14 12:18:43 +01:00
Sapphire b1c0f3bac3 Forward systemName from properties 2025-01-14 12:18:43 +01:00
Patrick Nicolas d17bb7ffec Don't fail when headset doesn't report refresh rates 2025-01-12 18:03:43 +01:00
Patrick Nicolas a434094055 Use a separate packet for refresh rate change 2025-01-07 23:42:11 +01:00
Patrick Nicolas 5620c25705 Send refresh rate change event from client 2025-01-07 20:07:10 +01:00
Patrick Nicolas da14e8450d Don't recreate decoders if only fps changes 2025-01-07 20:07:10 +01:00
Patrick Nicolas ad9300f842 Implement refresh rate change 2025-01-07 20:07:06 +01:00
Patrick Nicolas 42fa5970a3 Fix fov forwarding in fast-path case 2025-01-05 23:52:40 +01:00
Patrick Nicolas 68d59cfa92 Set timeout for pin enter to 2 min 2025-01-05 14:48:54 +01:00
Patrick Nicolas 3a09e2fb1f Implement visibility mask 2025-01-03 20:49:27 +01:00
Patrick Nicolas 7384779f87 initialize hmd parts 2025-01-03 20:49:27 +01:00
Patrick Nicolas 2557920756 move clock related logs to trace 2024-12-13 22:17:03 +01:00
galister 65d14724f0 do not attempt to call begin_feature 2024-12-05 10:24:55 +01:00
Patrick Nicolas c8dee48f0e Update Monado 2024-12-03 19:38:53 +01:00
Guillaume Meunier 043a673c59 Add a delay before allowing the next connection if the wrong PIN is entered 2024-12-02 17:54:47 +01:00