Commit graph

5599 commits

Author SHA1 Message Date
utzcoz 7676fa0a93 gradle: Bump AGP to 7.1.2
1. Bump AGP to 7.1.2.
2. Bump hiltVersion to 2.38.1.
3. Migrate lintOptions to lint.
4. Move package from AndroidManifest to Gradle.
5. Fully qualify application class name.
6. Fix packagingOptions usage with resources wrapper.

Signed-off-by: utzcoz <utzcoz@outlook.com>
Signed-off-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2023-03-29 16:48:16 +00:00
Jakob Bornecrantz 92f7e36083 st/oxr: Validate view array types 2023-03-28 19:30:57 +01:00
utzcoz 7e96a1c557 script: Update copyright year
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-28 18:11:25 +00:00
utzcoz 6544fd0493 script: Exclude .cmake for format-cmake.sh
It can help to fix the following error when running format-cmake.sh:
IsADirectoryError: [Errno 21] Is a directory: 'src/xrt/targets/openxr_android/.cxx/Debug/***/arm64-v8a/.cmake'

Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-28 18:11:25 +00:00
utzcoz 0da76e64d3 scripts: Support clang-format12-14
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-28 18:11:25 +00:00
utzcoz c1f4f41dd7 xrt/comp: Clean up comp_client's cmake conditions with D3D 2023-03-27 12:12:19 +00:00
Christoph Haag 4133289031 readme: Update distribution info 2023-03-23 23:21:58 +00:00
Jakob Bornecrantz 3000028512 d/pssense: Link with aux_util
Fixes build with tracing, and should be linked since utilities are used.
2023-03-22 15:07:04 +00:00
utzcoz 2d6db97ea0 sdl_test: Fix building on Windows platform 2023-03-22 14:18:25 +00:00
Jarett Millard b975545764 d/pssense: Add PlayStation Sense controller driver
The driver probes the Sense controller devices and interprets the button presses from HID packets
2023-03-20 23:20:34 -04:00
utzcoz 48bc8ccd33 doc: windows: Remove extra empty line
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-19 16:51:09 +08:00
utzcoz 2c04bd11aa doc: windows: Reduce documentation line length
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-19 16:49:42 +08:00
utzcoz 42f9d8f542 doc: windows: Update winbuild for monado-service
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-19 16:33:55 +08:00
utzcoz f566452ec8 doc: windows: Remove limitation about IPC not supported on Windows
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-19 16:22:23 +08:00
utzcoz ddeecdcade ci: Install sdl2:x64-windows for vcpkg
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-18 12:52:04 +08:00
utzcoz ea05e88e25 vcpkg: Enable gui feature default
It will tell vcpkg to copy sdl2 library to the build directory.

Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-18 12:50:01 +08:00
Jakob Bornecrantz 191ca7dbfd u/hand: Remove unused field
When we need this enum we can add it back in the xrt headers.
2023-03-16 14:19:38 +00:00
Jakob Bornecrantz 531b10fa4c xrt: Tidy various header includes 2023-03-16 14:19:38 +00:00
Jakob Bornecrantz 0c83cd350b xrt: Do not include util headers in xrt headers
This lead to some files getting u_misc for free, and also
other things being pulled in when they shouldn't have been.
2023-03-16 14:19:38 +00:00
Jakob Bornecrantz 7ce5a729b1 d/survive: Add SURVIVE_TIMECODE_OFFSET_MS to set timecode offset at launch 2023-03-16 13:07:22 +00:00
Jakob Bornecrantz ea7fbd4444 d/survive: Use u_var_draggable_f32 for timecode offset 2023-03-16 13:07:22 +00:00
Jakob Bornecrantz 0be1a3c512 u/debug_gui: Fix assert if window has been closed before exiting service 2023-03-16 12:27:43 +00:00
Moshi Turner 749d034a14 d/vive, d/survive, aux/vive: Fix hand offsets 2023-03-15 23:57:27 +00:00
Moshi Turner 570a5513be d/opengloves: Remove left-over code 2023-03-15 23:42:46 +00:00
Ryan Pavlik 1d1af807e4 ci: Respect FDO_CI_CONCURRENT.
Avoid oversubscribing shared runners.
2023-03-15 09:56:44 -05:00
Ryan Pavlik 879d8ddaa7 ci: Update version of ci-templates used and include workaround for CI policy change.
Also incorporate changes from !1719 into the templates
2023-03-14 17:17:48 -05:00
Christoph Haag 201eb039e6 ci: Install more deps on arch image
Increase the coverage of the CI compile tests
2023-03-14 00:53:36 +00:00
Jakob Bornecrantz 6b45e22164 d/survive: Make it possible to add offset to timecode calculation 2023-03-13 23:55:00 +00:00
Jakob Bornecrantz b4e901f674 t/common: Print what driver is being used in Lighthouse driver 2023-03-13 23:49:50 +00:00
Moshi Turner c463214157 tests: Fix levenberg-marquardt test 2023-03-13 13:04:31 -05:00
Mateo de Mayo 5503d75c43 d/vive: Fallback to v4l2 camera timestamps when lighthouse is on
The pulse 0xFD of the report 0x25 comes at 54hz and thus we are assuming its
timestamp are the camera frame timestamps. However, it seems that this report
stops coming when the lighthouses are enabled and instead we get a 0x28 report.
This commit silently handles the 0x28 instead of throwing errors and fallbacks
to using v4l2 timestamps instead of the previous timestamps from pulse 0xFD.
2023-03-13 17:58:24 +00:00
Mateo de Mayo 642549b5a0 t/euroc: Fix race condition in imu and gt csv writers
Multiple cameras were flushing the imu/gt queues but only one should do so.
2023-03-13 17:58:24 +00:00
Fernando Velazquez Innella 4b78b4c58e aux/d3d: Add missing cubemap support 2023-03-13 17:29:56 +00:00
Jakob Bornecrantz fc6fb265ff t/file: Only read matrix sizes that are with in reasonable limits 2023-03-13 16:50:01 +00:00
utzcoz 1b69865e93 doc: Fix window building doc related to CMake
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-03-13 16:15:43 +00:00
Christoph Haag be093c4e06 a/tracking: Fix psvr tracker OpenCV parameters
Fixes OpenCV exception on startup with Playstation Move controller:
 what():  OpenCV(4.7.0) /usr/src/debug/opencv/opencv-4.7.0/modules/features2d/src/blobdetector.cpp:93: error: (-5:Bad argument) 0<minArea<=maxArea in function 'validateParameters'
2023-03-13 01:36:26 +00:00
Christoph Haag 9dbfdf97ce d/ohmd,svr: Fix build
fixes d601f893da
2023-03-13 01:32:34 +00:00
Jakob Bornecrantz 63a180cb97 h/mercury: Remove unused variable to fix warning 2023-03-11 14:06:59 +00:00
Jakob Bornecrantz 5da159ce8f ext/tracy: Silence warnings 2023-03-11 13:00:38 +00:00
Jakob Bornecrantz be7d5c0c2a ext/tracy: Update to v0.9.1 2023-03-11 12:54:50 +00:00
Jakob Bornecrantz 7c024b3994 st/oxr: Use xrt_space 2023-03-10 00:03:46 +00:00
Jakob Bornecrantz c70bc60084 xrt: Also create a space overseer when creating system devices 2023-03-10 00:03:46 +00:00
Jakob Bornecrantz 4aaefc7588 ipc: Add xrt_space support 2023-03-10 00:03:46 +00:00
Jakob Bornecrantz ad2542124b u/builders: Add helper function to create space overseer 2023-03-10 00:03:46 +00:00
Jakob Bornecrantz 4d782620d1 u/space: Add default Space Overseer 2023-03-10 00:03:46 +00:00
Jakob Bornecrantz 1c00a596af xrt: Add xrt_space interface 2023-03-09 20:42:58 +00:00
Jakob Bornecrantz c90630295e doc: Add spaces design document 2023-03-09 20:42:58 +00:00
Jakob Bornecrantz bff220b6f8 ipc: Implement xrt_device::compute_distortion 2023-03-09 15:51:29 +00:00
Jakob Bornecrantz d601f893da xrt: Tidy compute_distortion function 2023-03-09 15:51:12 +00:00
Christoph Haag b0e164db19 d/survive: Fix warning 2023-03-08 22:12:18 +01:00