Commit Graph
53 Commits
Author SHA1 Message Date
Patrick Nicolas 11e4076026 WIP app pacer 2025-03-19 17:43:37 +01:00
galister 261bb2c600 pass through HTC_facial_tracking 2025-02-08 10:24:15 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +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 5620c25705 Send refresh rate change event from client 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 3a09e2fb1f Implement visibility mask 2025-01-03 20:49:27 +01:00
galister 65d14724f0 do not attempt to call begin_feature 2024-12-05 10:24:55 +01:00
Guillaume Meunier fe10178add Check the PIN when pairing 2024-12-01 17:25:28 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas 4e407f0107 Remove delay when enabling tracking 2024-11-23 13:27:09 +01:00
Patrick Nicolas efe19824c5 Shutdown sockets on connection close 2024-11-14 18:18:59 +01:00
Patrick Nicolas 849eeb7a80 Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2024-10-08 20:10:39 +02:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +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
Patrick Nicolas c370d19469 Pack multiple tracking items per datagram 2024-10-02 23:58:13 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
galister 44f48abf8a update monado 2024-09-12 19:32:47 +02:00
galister 2141c66c6e switch to stage tracking on client 2024-09-05 13:46:00 +02:00
Patrick Nicolas 96bbfa1a23 Put not requested tracking on standby 2024-09-03 23:34:23 +02:00
Patrick Nicolas 481c922143 Select compatible codec for vaapi when no config is given 2024-08-31 22:07:56 +02:00
galister 8503e3480b eye-tracked foveation 2024-08-30 11:24:36 +02:00
galister e6f3ae0113 passthru FB_face_tracking2 2024-08-19 16:35:26 +02:00
galister 225bf9d30f expose battery on hmd xdev 2024-08-10 22:54:41 +02:00
galister cee3ac7b99 move eye tracker to its own device 2024-08-02 17:43:19 +02:00
Patrick Nicolas 4cfdc4fa24 Move tracking origin to prevent warp on reconnect 2024-08-01 09:03:19 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas d935eabf14 Quit if no client when connection ends 2024-06-03 20:59:06 +02:00
Patrick Nicolas 1266a46947 Deactivate connection on socket error 2024-06-03 20:59:06 +02:00
Patrick Nicolas 5d9d39eee5 Notify clients about session state change 2024-06-03 20:59:06 +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 c3e2cd0cb8 Estimate clock speed difference 2024-02-16 22:02:57 +01:00
Patrick Nicolas 6ad6e0d241 Update monado (add xrt_session_event_sink) 2023-12-17 12:36:02 +01:00
Patrick Nicolas 7e22b3fa92 Add IDR info in timings csv 2023-12-16 14:16:46 +01:00
Patrick Nicolas df786362e7 Only send I frames when necessary 2023-12-16 14:16:46 +01:00
Patrick Nicolas 23298a1581 Update monado, move create_system in wivrn_session 2023-11-29 18:13:34 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas 4e233d99c2 Improve timesync
Initial timesync algorithm assumed that latency was symmetrical, but it
appears that it is not. Add a mechanism to estimate where latency
happens, which leads to much more stable values: about 200µs variation
between estimations.
2023-10-21 17:53:04 +02:00
Patrick Nicolas 5b527fdfcf Ensure we only send one timesync per second 2023-10-20 13:12:10 +02:00
Patrick Nicolas 00fbfafb60 use control socket for audio data 2023-06-29 17:27:52 +02:00
Patrick Nicolas a5726226a2 Use comp_target_factory 2022-12-09 22:19:18 +01:00
Patrick NicolasandGuillaume Meunier 2b4303272d Initial audio support
Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net>
2022-12-03 21:24:55 +01:00
Guillaume Meunier 6dce276889 clang-format 2022-11-28 22:35:10 +01:00
Guillaume MeunierandPatrick Nicolas f16cfa8ae8 Add continuous foveated encoding
Co-authored-by: Patrick Nicolas <patricknicolas@laposte.net>
2022-11-28 22:35:02 +01:00