Commit graph

3409 commits

Author SHA1 Message Date
Moses Turner bec03a09bc d/multi: Switch to new get_hand_tracking signature 2021-10-02 23:08:06 +01:00
Moses Turner 8fdeaccbc7 st/oxr: Switch to new get_hand_tracking signature 2021-10-02 23:06:43 +01:00
Moses Turner 1a4dd31b5e ipc: Switch to new get_hand_tracking signature 2021-10-02 23:06:29 +01:00
Moses Turner ca007be4d5 xrt: Switch to new get_hand_tracking signature 2021-10-02 23:05:46 +01:00
Moses Turner e134b24f8f u/var: Add u_var_draggable_f32 2021-10-02 23:05:35 +01:00
Moses Turner 5efdea78da aux/gst: Expose function to get offset from global time to video timestamp 2021-10-02 23:05:26 +01:00
Ryan Pavlik 37c5eee02a a/math: Refactor one euro filter code 2021-10-02 23:05:22 +01:00
Moses Turner 52f1ce14ca aux/math: Add m_vec2_lerp 2021-10-02 23:05:19 +01:00
Moses Turner b067d3b0c2 d/vf: Fix typo 2021-10-02 23:05:16 +01:00
Mateo de Mayo a409ed6141 d/rs: Fix build errors and warnings when compiling without a SLAM dependency 2021-10-01 23:22:16 -03:00
Moses Turner 140a39f9c4 d/ns: move ns_hmd_create to ns_hmd.h 2021-10-01 13:54:19 -05:00
Ryan Pavlik 884a312011 build: Fix build with CMake before 3.14 2021-10-01 11:21:35 -05:00
Moses Turner 1ee4e0c304 cmake: always export compile commands 2021-10-01 10:25:13 +00:00
Simon Zeni 036eb19343 d/ht: fix stack overflow on hand detection 2021-09-30 14:30:22 -04:00
JungJik Lee ad7b5cb786 gitignore: update 2021-09-30 01:15:59 +00:00
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