Commit graph

3344 commits

Author SHA1 Message Date
Jakob Bornecrantz 9a4cc80e87 st/prober: Tidy and re-order functions 2021-09-29 21:38:33 +00:00
Jakob Bornecrantz 874d48a810 st/prober: Add some tracing functions 2021-09-29 21:38:33 +00:00
Jakob Bornecrantz c8d57a4ff3 d/vive: Add some more tracing 2021-09-29 21:38:33 +00:00
Jakob Bornecrantz 98c1cb5358 d/vive: Add tracing support focusing on device message processing 2021-09-29 21:38:33 +00:00
Jakob Bornecrantz 73d631c775 cmake: Make math depend on util
This fixes the build when tracing is enabled.
2021-09-29 21:38:33 +00:00
Jakob Bornecrantz 5e66533751 cmake: Move XRT_HAVE_PERCETTO to before it's first use 2021-09-29 21:38:33 +00:00
Christoph Haag d2e64d8b75 d/survive: Add SURVIVE_LH_GEN env var
On some systems libsurvive gets randomly confused and misdetects lh2 as lh1.
This causes the config to be pruned and is very annoying.
2021-09-29 23:03:20 +02:00
Jakob Bornecrantz 6f66ada6d9 u/vive: Remove old code and tidy camera calibration extraction 2021-09-29 20:48:54 +00:00
Jakob Bornecrantz 08721858dc u/vive: Compare calibration solutions 2021-09-29 20:48:54 +00:00
Jakob Bornecrantz 4430dbe5d5 u/vive: Rework how calibration is extracted 2021-09-29 20:48:54 +00:00
Jakob Bornecrantz a15e37587b u/vive: Add more camera fields 2021-09-29 20:48:54 +00:00
Mateo de Mayo 6f20b6d88f d/rs: Add host-SLAM tracked device (hdev)
This device was tested on a D455 but should work on any other RealSense camera
that supports camera and IMU streams (even the T265), given that you properly
configure the external SLAM config file.
2021-09-28 16:11:42 -03:00
Mateo de Mayo 95e22ae7c8 d/rs: Implement new probing logic to choose between ddev and hdev creation
Also adds a rs_container to keep track of RealSense created objects that
are useful to have during execution.
2021-09-28 16:07:14 -03:00
Mateo de Mayo 961c7c8ed1 d/rs: Rename 6dof to ddev
This commit introduces the term `ddev` for a "Device-SLAM tracked device",
it will be useful to differentiate itself from the `hdev`
("Host-SLAM tracked device") that will be introduced in next commits.

Note that "config_realsense" json field was renamed to "config_realsense_device"
and the device's serial (used for tracking overrides) changed from
"Intel RealSense 6-DOF" to "Intel RealSense Device-SLAM".
2021-09-28 16:07:08 -03:00
Mateo de Mayo f70752aeda d/qwerty: Fix tracking overrides and correct multi typo 2021-09-28 16:07:03 -03:00
Mateo de Mayo e561d312f6 st/prober: Handle SLAM tracker creation failure for the Euroc player
This also adds a do-nothing section to `p_factory_create_tracked_slam`
that could be replicated by new SLAM frame servers.
2021-09-28 16:06:58 -03:00
Mateo de Mayo f88befbdbc t/slam: Replace assertion with return -1 if SLAM_CONFIG is not provided 2021-09-28 16:06:52 -03:00
Mateo de Mayo debdb11e02 t/slam: Miscelaneous NFC changes
- Use @todo instead of TODO for doxygen
- Improve the slam_tracker interface documentation
- Move euroc functions declared by macros into extern C
2021-09-28 12:49:36 +00:00
Mateo de Mayo 1a5af03111 t/slam: Move pose corrections into the tracked devices
This discards the pose correction logic used that was for the D455 not for
an euroc dataset. It will be reintroduced in a later commit with an
appropriate device.
2021-09-28 12:49:36 +00:00
Moses Turner 1c99e8edb5 meson: add option for tracing; align messages 2021-09-28 12:41:01 +00:00
Mateo de Mayo d61a695f13 meson: Allow percetto to be used with meson
You may need to specify --libdir=$installdir/lib when installing percetto,
otherwise it gets installed on $installdir/lib/x86_64-linux-gnu by default and
meson might not look for the appropriate pkgconfig in there.
2021-09-28 12:41:01 +00:00
quic_zhibinw f9d0bfb80a aux/vk: Apply the protected content flag if app pass it when create swapchain 2021-09-28 15:33:15 +08:00
Ryan Pavlik 7b5102dc28 t/oxr-android: Clean up about libraries usage and fix mangled comments. 2021-09-27 09:29:29 -05:00
Ryan Pavlik 61feb03d0e gradle: Format 2021-09-27 09:26:15 -05:00
Ryan Pavlik e8ed9c95f6 ipc/android: Require the OpenXR permission. 2021-09-27 09:26:15 -05:00
Ryan Pavlik 1ac72072c4 gradle: Update to Kotlin 1.5.0 2021-09-27 09:26:15 -05:00
Ryan Pavlik 892bfc1071 gradle: Update Material to 1.3.0 2021-09-27 09:26:15 -05:00
Ryan Pavlik 52e75e8e27 t/oxr_android: Update Hilt to a stable release
Only one change in our usage was needed.
2021-09-27 09:26:15 -05:00
Ryan Pavlik b53d022533 gradle: Update AboutLibraries dep
Note that we're one version back from the latest due to a bug.
2021-09-27 09:26:15 -05:00
Ryan Pavlik 690141a7ee gradle: Update Android build tools 2021-09-27 09:26:15 -05:00
Ryan Pavlik 995866a576 cmake: Improve use of percetto 2021-09-27 09:26:15 -05:00
Ryan Pavlik 9626a8d575 cmake: Don't use pkgconfig on Android.
It tends to pick up host libraries.
2021-09-27 09:26:15 -05:00
Ryan Pavlik 7dc61f8d51 cmake: Move where we search for pkgconfig 2021-09-27 09:26:14 -05:00
Ryan Pavlik 524d6f73c3 cmake: Explicitly specify whether we expect a module or a config. 2021-09-27 09:25:15 -05:00
Ryan Pavlik 0fec29687a cmake: Switch to a new FindPercetto module. 2021-09-27 09:23:09 -05:00
Jakob Bornecrantz ee68aebb53 doc: Document !911 2021-09-20 15:54:00 +00:00
Jakob Bornecrantz de283a8b0c t/calibration: Add support for findChessboardCornersSB 2021-09-20 15:54:00 +00:00
Jakob Bornecrantz d86adce39d u/historybuf: Tidy code and work around clang-format CI troubles 2021-09-20 15:54:00 +00:00
Ryan Pavlik a10a4ab123 a/math: Fix truncation warning due to double literal in float parameter. 2021-09-20 10:06:33 -05:00
Mateo de Mayo 0b7f3d92ef d/euroc: Use new debug frame sinks 2021-09-20 14:59:18 +00:00
Ryan Pavlik 967efb4a12 a/os: SetWaitableTimer wants durations in hundreds of ns. 2021-09-20 09:25:31 -05:00
Christoph Haag 2ef9e0aa61 comp: Don't disconnect from NULL wayland_display
Fixes crash when not running on wayland.
2021-09-20 13:54:36 +00:00
Christoph Haag d54c489738 st/oxr: Enumerate outputs too in xrEnumerateBoundSourcesForAction
Fixes #118
2021-09-20 00:28:46 +02:00
Jakob Bornecrantz b4ce66a5dc u/var: Remove sink variable tracking 2021-09-17 15:27:23 +01:00
Jakob Bornecrantz 7e8428a4d2 st/gui: Remove U_VAR_SINK support 2021-09-17 15:27:23 +01:00
Jakob Bornecrantz b0b4034a93 st/gui: Add support for u_sink_debug 2021-09-17 15:27:23 +01:00
Jakob Bornecrantz bef417b5a8 st/gui: Handle setting recording info from the first frame 2021-09-17 15:27:23 +01:00
Jakob Bornecrantz 2b72672cc2 st/gui: Expose bitrate as a combobox in recording window 2021-09-17 15:27:15 +01:00
Jakob Bornecrantz 7a6412672d st/gui: Refactor out recording code into own window 2021-09-17 13:39:50 +01:00
Jakob Bornecrantz 9bfabdf706 d/ht: Disable sink variable tracking 2021-09-17 13:39:50 +01:00