Commit graph

5594 commits

Author SHA1 Message Date
Moshi Turner 03546e0b99 h/mercury: Add wrist pose initialization guesser 2023-03-07 17:41:49 -06:00
Moshi Turner 3f2b71a9d5 h/mercury: Use post-rotation residual that'll handle big rotations
Fixes a long-standing bug
2023-03-07 17:41:49 -06:00
Moshi Turner cdd0a6df67 h/mercury: Have a post-translation as well as post-rotation
For better numerical stability. Shouldn't significantly affect tracking besides slight jitter reduction and very slightly higher accuracy.
2023-03-07 17:41:49 -06:00
Moshi Turner 7c93b1ccfd h/mercury: Move all defines to lm_defines.hpp 2023-03-07 17:40:45 -06:00
Moshi Turner 4ccc133ac5 h/mercury: Split lm_rotations into two files to make copyright ownership clear 2023-03-07 17:40:45 -06:00
Moshi Turner 7485afbeaa xrt: Refactor oxr_sdl2_hack to u_debug_gui
And OXR_DEBUG_GUI to XRT_DEBUG_GUI

Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-03-06 16:39:52 -06:00
Jakob Bornecrantz e338d57945 st/gui: Remove unused pointer [NFC] 2023-03-06 14:38:36 +00:00
Moshi Turner c0af2327fd h/mercury: Push frame timestamp back before predicting next frame ROIs
Fixes minor logic error and stops crash if hands are detected on the very first frame
2023-03-05 22:41:10 -06:00
Moshi Turner bc152f6983 h/mercury: Dynamically allocate arrays for stereographic projection
Also factor out stereographic_unprojection into its own file because we're gonna need it elsewhere
2023-03-04 17:52:15 -06:00
Moshi Turner 0931cbaf0f h/mercury: Add option to run hand detection model in all views 2023-03-03 20:27:39 -06:00
Moshi Turner 7f5562c765 h/mercury: Don't show hands until tracked for 10 frames 2023-03-03 20:27:39 -06:00
Moshi Turner 84bae0b8ca h/mercury: Add debug instrumentation header
So that we can run automated tests on our hand tracking
2023-03-03 20:27:39 -06:00
Moses Turner a934bf4ae3 h/mercury: Bump the hand detection threshold up 2023-03-03 20:27:39 -06:00
Jakob Bornecrantz 006bdbc400 u/pp: Add new xrt input enums to printing function 2023-03-03 21:38:54 +00:00
Jakob Bornecrantz 3ab34071be st/oxr: Extract space type conversions 2023-03-03 21:38:54 +00:00
Jakob Bornecrantz a980392b9e st/oxr: Refactor out conversion helper to own header 2023-03-03 21:38:54 +00:00
Jakob Bornecrantz b15ac35e76 st/oxr: Refactor some things into oxr_defines.h 2023-03-03 21:38:54 +00:00
Jakob Bornecrantz d84a679eb9 u/builders: Move setup tracking origin function here 2023-03-03 21:38:54 +00:00
Jakob Bornecrantz 05de788168 d/multi: Remove all uses of tracking_origin offsets 2023-03-03 21:38:54 +00:00
Moshi Turner 26d2394163 cmake: Sort some stuff in root file 2023-03-03 15:25:12 -06:00
Moshi Turner 5519aecd2c cmake: Don't build t_euroc_recorder on Windows 2023-03-03 15:13:23 -06:00
Moshi Turner 8d2d90432a cmake: Add XRT_MODULE_MONADO_GUI 2023-03-03 15:13:23 -06:00
Moshi Turner ed086ea423 cmake: Add XRT_MODULE_MONADO_CLI 2023-03-03 15:13:23 -06:00
Moshi Turner ae7167dbab cmake: Add XRT_MODULE_AUX_VIVE 2023-03-03 15:13:23 -06:00
Moshi Turner 85a701a4a0 cmake: Add XRT_MODULE_MERCURY_HANDTRACKING 2023-03-03 15:13:23 -06:00
Moses Turner 58399cd993 h/mercury: Remove duplicate include 2023-03-03 15:13:23 -06:00
Moshi Turner 54bd4b844f a/math: Fix m_filter_f32_run -> m_filter_euro_f32_run
This is currently used in the delay filter in the Mercury SteamVR driver
2023-03-03 15:13:23 -06:00
Moses Turner c596b31327 h/mercury: Add interface header define 2023-03-03 15:07:45 -06:00
Moshi Turner c750d714a9 d/ht_ctrl_emu: Fix pinch detection 2023-03-03 15:07:45 -06:00
Jakob Bornecrantz 4b6491aa16 cmake: Introduce a new module category 2023-03-03 20:56:59 +00:00
Ryan Pavlik 2a3157b087 cmake: Do not install a test binary 2023-03-03 01:06:11 +00:00
Ryan Pavlik fd77b84938 st/oxr: Suppress clang-tidy removing a forward declaration. 2023-03-03 01:05:14 +00:00
Ryan Pavlik b44327bd0c misc: Update clang-tidy config 2023-03-03 01:05:14 +00:00
Ryan Pavlik ae61287f4c a/vk: Enlarge buffer to fix warning 2023-03-03 01:05:14 +00:00
Ryan Pavlik 124c9ecf3f st/oxr: Suppress a warning.
It looks more serious than it actually is, this is normal usage.
2023-03-03 01:05:14 +00:00
Ryan Pavlik 9348130fe7 a/util: Fix bitwise operation on signed integer warnings 2023-03-03 01:05:14 +00:00
Ryan Pavlik bdc526b77d xrt: Fix bitwise operation on signed integer warnings 2023-03-03 01:05:14 +00:00
Ryan Pavlik cff131da36 st/oxr: Fix bitwise operation on signed int warnings. 2023-03-03 01:05:14 +00:00
Ryan Pavlik f43ac4841b d/wmr: Fix warnings/issues, mostly related to 32-bit builds 2023-03-03 01:05:14 +00:00
Ryan Pavlik f230446cec c/util: Fix printf on 32-bit 2023-03-03 01:05:14 +00:00
Ryan Pavlik 06b91dabc8 c/main: Fix printf formatting on 32bit 2023-03-03 01:05:14 +00:00
Ryan Pavlik 43ac5d44cf d/euroc: Fix printf formatting on 32bit 2023-03-03 01:05:14 +00:00
Ryan Pavlik fd2c7c6a98 a/util: Fix printf formatting on 32-bit 2023-03-03 01:05:14 +00:00
Ryan Pavlik 44d6755814 external: Fix typo in DearImGui demo. 2023-03-02 17:49:26 -06:00
Ryan Pavlik cb65c4f236 build: Add option to use SSE2 on 32-bit x86, and enable by default.
Fixes/works around a float comparison test failure in input transform.
2023-03-02 17:25:02 -06:00
Ryan Pavlik 172a5baf23 st/oxr: Add missing calling convention macros for entry points.
Fixes 32-bit Windows build.
2023-03-02 13:48:25 -06:00
Moshi Turner 3c1880448e a/vive: Remove unused zlib linkage 2023-03-02 04:35:44 +00:00
Moshi Turner e26a272c17 d/dai, st/gui, t/common: Make DepthAI frameserver work with multicam sinks 2023-03-01 14:37:26 -06:00
Ryan Pavlik 9cf124254e c/main: Constify target factories 2023-03-01 19:54:36 +00:00
Ryan Pavlik 3058f1c149 c/main: Fix typo 2023-03-01 19:54:11 +00:00