Commit Graph
48 Commits
Author SHA1 Message Date
galister 4baa98c8f1 fix index controller mapping 2025-10-01 20:29:58 +09:00
Patrick Nicolas b9052c6ebb controller/hand_interaction: fix ODR, race condition 2025-08-16 14:15:29 +02:00
Patrick Nicolas 89c5921fc8 Update Monado 2025-08-06 17:27:46 +02:00
Patrick Nicolas e67c071be6 Dump velocities with WIVRN_DUMP_TRACKING 2025-08-03 10:48:44 +02:00
Sapphire c682f8cd9f Make hand interaction a different xdev
* Don't override hands from other drivers on interaction profile change

* Rename *_hand to *_controller

* Fix derived pose and tracking control desync with hand interaction

* Reset pose history on switch from hand interaction, code cleanup
2025-07-09 10:33:32 +02:00
Sapphire 8f0ca7b04c Forward XR_EXT_hand_interaction
* Fix binds

* hand_interaction tids
2025-07-09 10:33:32 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
Patrick Nicolas 1698f4aba6 update monado 2025-07-04 23:43:06 +02:00
Sapphire 6377f21b99 Return appropriate error and use logging helper when unsupported input is requested 2025-06-28 10:29:46 +02:00
Patrick Nicolas f2679f21d0 Update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas d065229cb7 update monado 2025-06-10 14:44:01 +02:00
Sapphire 460fbec06d Quest and Pico body tracking
* Update OpenXR SDK to 1.1.48
2025-06-08 18:07:23 +02: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
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
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 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 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 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 c8dee48f0e Update Monado 2024-12-03 19:38:53 +01:00
Patrick Nicolas 281b04cbc2 Allow opt out of hand tracking 2024-10-22 10:36:27 +02:00
Patrick Nicolas b54108bb4c Update monado 2024-10-08 23:16:50 +02:00
Patrick Nicolas 80688b817e Fix palm data being discarded 2024-10-06 19:00:10 +02:00
Patrick Nicolas 6608b1d833 Add support for palm_ext 2024-10-05 13:55:20 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
rcelyte 0d629291cf Store proxy HMD and controller devices by value 2024-10-03 15:23:36 +02:00
galister 44f48abf8a update monado 2024-09-12 19:32:47 +02:00
Patrick Nicolas 96bbfa1a23 Put not requested tracking on standby 2024-09-03 23:34:23 +02:00
galister d31e886d51 update monado
- xrt_tracking_offset field 'offset' was renamed to 'initial_offset'
- STAGE is now supported by default, 'stage_supported' is for drivers
  that require active polling for the STAGE pose.
- new space offset API included
2024-07-25 20:12:29 +02:00
galister 6a4043fd38 feat: stage_supported 2024-06-06 21:53:49 +02:00
Patrick Nicolas 7658f427e6 Request tracking extrapolation on client
Add the timestamp where data was requested, use this to compute how far
in the future the application is requesting samples.
With this information, client requests 2 tracking samples: one at the
current time and one in the future.
Server now keeps track of actual samples + one predicted sample, and is
most of the time in the interpolation use case.
2024-04-04 13:41:36 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier a2271d486a Add hand tracking 2024-02-25 16:09:32 +01:00
Patrick Nicolas d7e1900bc0 Avoid possible invalid time conversion 2024-02-19 18:43:21 +01:00
Patrick Nicolas 7a250495a5 Remove some useless #include 2024-01-07 22:38:44 +01:00
Patrick Nicolas 2704b46927 Add timestamps for inputs 2023-06-30 12:25:15 +02:00
Patrick Nicolas 7fb2cca038 Add simple controller bindings 2022-12-10 07:11:06 +01:00
Patrick Nicolas 219dc50720 fix some button mappings 2022-11-15 23:14:31 +01:00
Guillaume Meunier 4baf2b17eb move stuff in common, clang-format, update copyright 2022-11-13 11:00:04 +01:00
Guillaume Meunier 294c4f81ba Add server source, originally in monado 2022-11-12 23:59:28 +01:00