Moses Turner
6ef55d1f73
d/survive: Initialize threading primitive
2022-05-23 14:27:42 +00:00
Jakob Bornecrantz
38eac9dddc
xrt: Do not depend on util
2022-05-23 09:12:54 -05:00
Jakob Bornecrantz
a75e00d25e
d/qwerty: Include u_time.h in device file
2022-05-23 09:12:54 -05:00
Jakob Bornecrantz
08d100d7b0
d/hydra: Depend on util
2022-05-23 09:12:54 -05:00
Jakob Bornecrantz
0d055bb740
d/vive: Fix threading primitive initialization
2022-05-23 13:54:42 +00:00
Jakob Bornecrantz
4fa406610f
a/os: Fix fallout from name change
2022-05-20 23:07:33 +01:00
Ryan Pavlik
ea4c14c3aa
a/os: Rename os_thread_helper_stop to os_thread_helper_stop_and_wait
2022-05-20 18:46:37 +01:00
Mateo de Mayo
85bdbc1817
u/aeg: Implement state machine to correct overshooting and avoid oscillations
2022-05-19 14:03:17 +00:00
Mateo de Mayo
63b477d250
a/math: Add MIN, MAX and CLAMP macros
2022-05-19 14:03:17 +00:00
Mateo de Mayo
df5b5f40a9
d/wmr: Add auto exposure
2022-05-19 14:03:17 +00:00
Mateo de Mayo
84422acd74
d/wmr: Centralize exposure and gain update logic
...
Also use the new draggable_u16 UI input for exposure.
2022-05-19 14:03:17 +00:00
Ryan Pavlik
6706180cd8
drivers: Improve word choice/clarity
2022-05-17 17:40:58 -05:00
Ryan Pavlik
56a1c25378
d/simulated: Rename the simulated device driver.
2022-05-17 17:39:52 -05:00
Ryan Pavlik
df413a3809
d/ht: Fix doxygen warnings
2022-05-17 14:42:02 -05:00
Ryan Pavlik
0e4f40c980
d/wmr: Fix doxygen warning
2022-05-17 14:42:02 -05:00
Moses Turner
8ac95a5177
d/ht: Add some things to the WMR creation interface, and make it the default interface.
2022-05-16 19:15:33 +01:00
Jakob Bornecrantz
85d4a72d0f
d/psmv: Fix NULL check
2022-05-15 21:40:26 +01:00
Jakob Bornecrantz
6a2426c0a2
d/psmv: Refactor device creation in preperation of builders
2022-05-15 14:45:01 +01:00
Jakob Bornecrantz
ddb142564f
d/psvr: Refactor device creation in preperation of builders
2022-05-15 14:45:01 +01:00
Jakob Bornecrantz
23ed0a6632
xrt: Remove unused xdev argument to trackers
2022-05-14 22:40:36 +01:00
Moses Turner
5122ecd0b0
d/dai: Fisheye calibration was upstreamed, actually use it now
2022-05-12 20:01:15 +00:00
Jakob Bornecrantz
116d1a9bf8
xrt: Typedefs have a _t suffix
2022-05-12 11:59:12 +00:00
Jakob Bornecrantz
a38ea4231c
d/vive: Use prober helper code
2022-05-12 11:59:12 +00:00
Jakob Bornecrantz
b9d88f4eab
d/wmr: Use prober helper code
2022-05-12 11:59:12 +00:00
Moses Turner
e8776fd705
d/dai: Add little xrt_device implementation for head tracking
2022-05-10 23:47:30 +01:00
Moses Turner
5ba7ae3c53
d/dai: Add initial IMU support
2022-05-10 23:47:30 +01:00
Moses Turner
af5516f4b6
d/dai: We didn't need this calibration struct for anything
2022-05-10 23:47:30 +01:00
Jakob Bornecrantz
6b19eedf9c
d/survive: Use shared bindings
2022-05-09 10:46:44 +00:00
Jakob Bornecrantz
456f9c7f09
d/vive: Use shared bindings
2022-05-09 10:46:44 +00:00
Mateo de Mayo
1a687cdee4
d/wmr: Add initial hand tracking for WMR devices
...
Co-authored-by: Moses Turner <moses@collabora.com>
2022-05-07 15:53:56 +00:00
Mateo de Mayo
7e1f9a7964
t/hand: Add option for allowing xfctx to be managed externally
...
Other trackers (e.g., psmv, slam, etc) work as sinks and the xfctx that manages
them is handled by the device providing the data streams. This change helps
the hand tracker have a more similar interface to other trackers.
2022-05-07 15:53:56 +00:00
Mateo de Mayo
44dac0eb5d
d/wmr: Refactor UI and tracker initialization into their own methods (NFC)
2022-05-07 15:53:56 +00:00
Mateo de Mayo
e3fadb5364
doc: Fix some doxygen warnings
2022-05-07 15:53:56 +00:00
Ryan Pavlik
3287c984aa
cmake: Reorganize options, renaming some.
...
Rename XRT_HAVE_SLAM to XRT_FEATURE_SLAM,
moving it from xrt_config_have.h to xrt_config_build.h
accordingly.
2022-05-04 11:24:02 -05:00
Moses Turner
a5024060eb
d/dai: Autodetect OAK-D vs OAK-D Lite
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2022-05-04 13:43:43 +00:00
Jakob Bornecrantz
e791f3ea2f
d/android: Fix various bugs
2022-05-03 14:22:34 +00:00
Jakob Bornecrantz
243c2e5326
d/psvr: Fix conversion warnings
2022-05-02 17:16:04 +01:00
Jakob Bornecrantz
175ff58f10
build: Remove meson files
2022-04-28 21:36:25 +00:00
Jakob Bornecrantz
3b6b45b762
d/wmr: Prettier xfer status printing
2022-04-17 16:06:11 +01:00
Ryan Pavlik
3e6ec47296
monado: Apply clang-tidy fixes to most of the codebase.
...
All at least visually inspected, some revised from the auto-fixit
2022-04-13 09:34:54 -05:00
Nima01
f705683957
d/wmr: Partial decoding of device status message. Notifies when screen is fully powered up Reverb G1.
2022-04-13 00:19:50 +00:00
Ryan Pavlik
0ae0316400
cmake: Format build files
2022-04-13 01:11:13 +01:00
Alexander Koenig
5d76c83c37
Fix typo in rotate_lenses_right quirk, helps with #166
2022-04-12 23:14:32 +00:00
Ryan Pavlik
ef9b15ee67
d/dummy: Silence some warnings
2022-04-12 23:06:11 +00:00
Mateo de Mayo
e41cc1eec3
d/qwerty: Fix warning for AIM pose
2022-04-12 10:20:02 -03:00
Mateo de Mayo
310248546d
d/euroc: Add euroc runner
2022-04-06 11:50:17 -03:00
Mateo de Mayo
4c85e3fbb3
t/slam: Refactor tracker to accept a config struct on creation
2022-04-06 11:50:17 -03:00
Mateo de Mayo
a80f88eb00
d/euroc: Refactor player to accept a config struct on creation
2022-04-06 11:50:17 -03:00
Mateo de Mayo
ff8c2d820c
d/euroc: Improve player tolerance to more datasets
...
Makes all usable euroc and tumvi datasets stream properly by fixing
some border cases that a couple of datasets had.
2022-04-06 11:50:17 -03:00
Mateo de Mayo
7f0699dffc
d/euroc: Add configuration options to the player
...
Specifically:
- EUROC_PLAY_FROM_START
- EUROC_USE_SOURCE_TS
- EUROC_PRINT_PROGRESS
- EUROC_MAX_SPEED
- EUROC_PLAYBACK_SPEED
2022-04-06 11:50:17 -03:00
Christoph Haag
6c9f1f4083
t/hand: Add meson build for mercury
2022-03-25 18:33:04 +00:00
Moses Turner
870a2ce704
d/ht: support DepthAI cameras and Mercury hand tracking
2022-03-23 18:30:02 -05:00
Moses Turner
912cc22c20
d/dai: Get ready to support fisheye cameras
...
Remove the #if 0 after the next depthai-core release.
2022-03-23 20:56:15 +00:00
Moses Turner
0a843eb20f
d/dai: Translation is in cm but in m in Monado
2022-03-23 20:56:15 +00:00
korejan
d43c7ffa71
android: Support for using device's set display refresh rate
...
* Adds support for querying the device's currently set display refresh rate to
be used for android driver on creation. Allowing for devices which support
selecting other refresh rate modes beyond 60hz.
* Changes hardcoded sensor polling rate to now match refresh queried from the
device.
2022-03-22 12:33:30 +00:00
Moses Turner
b3872e925f
Switch real-time users of u_sink_queue to u_sink_simple_queue
2022-03-19 14:28:09 +00:00
Jakob Bornecrantz
6f10a20ce0
d/multi: Use xrt_device_get_tracked_pose function
2022-03-17 02:08:33 +00:00
Moses Turner
d2366b31dc
d/multi: Correctly override the head pose in get_view_poses
2022-03-15 20:13:10 -05:00
Moses Turner
e4805c07e2
d/rs: Tracking origin probably should have an identity pose
2022-03-15 20:13:10 -05:00
Mateo de Mayo
c9f7184d64
t/slam: Implement timing and trajectory error UI graphs
2022-03-14 23:42:13 +00:00
Mateo de Mayo
af2dde11c3
misc: Fix some release build warnings and minor changes
...
- Add CMakeUserPresets.json to .gitignore
- Fix DASSERTs warning for release builds
- Do not use one euro filter with invalid poses
- Other NFC style changes
2022-03-14 23:42:13 +00:00
Mateo de Mayo
e889ee7562
d/euroc: Implement ground truth trajectory load
2022-03-14 23:42:13 +00:00
Mateo de Mayo
71694b80fd
d/euroc: Refactor player to stream samples more like a real device
...
Splits the image and IMU producers into their own threads.
2022-03-14 23:42:13 +00:00
Antonio Ospite
6ca4522de0
d/ns: really silence -Wunused-result warning
...
A previous change didn't really ignore the return value of fread() and
a warning was still emitted:
-----------------------------------------------------------------------
[103/1571] Building C object src/xrt/drivers/CMakeFiles/drv_ns.dir/north_star/ns_hmd.c.o
../src/xrt/drivers/north_star/ns_hmd.c: In function ‘ns_config_load’:
../src/xrt/drivers/north_star/ns_hmd.c:512:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
512 | (void)fread(json, 1, file_size, config_file);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------
Check the return value of fread to fix the warning for good, and declare
the return value of ftell as long as stated in the man page.
2022-03-14 14:06:02 +00:00
Jakob Bornecrantz
e1b0f55a87
d/ns: Always check to close file on error path
2022-03-09 22:34:37 +00:00
Antonio Ospite
a4167ee500
d/ns: silence -Wunused-result warning, close config_file in error paths
...
On some systems fread() is declared with attribute warn_unused_result
and this results in a build warning:
-----------------------------------------------------------------------
Building C object src/xrt/drivers/CMakeFiles/drv_ns.dir/north_star/ns_hmd.c.o
.../src/xrt/drivers/north_star/ns_hmd.c: In function ‘ns_config_load’:
.../src/xrt/drivers/north_star/ns_hmd.c:512:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
512 | fread(json, 1, file_size, config_file);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------
Explicitly ignore the return value of that fread() to silence the
warning.
And while at it also close config_file in some error paths between
fopen() and fclose() which where leaking the file pointer when jumping
to the parse_error label.
2022-03-09 16:10:43 +01:00
Moses Turner
30b779e515
t/hand: Add ht_sync
2022-03-08 20:44:25 +00:00
Moses Turner
a9db1a6f6e
d/ht_crtl_emu: Free driver
2022-03-08 13:52:23 -06:00
Jakob Bornecrantz
bf1edf96eb
d/dai: Add OV7251 sensor info
2022-03-04 14:04:13 +00:00
Henry Che
add7b5723f
Update illixr_device.cpp: There is no function called get_view_pose in xrt_device.h.
2022-02-23 17:13:38 +00:00
Mateo de Mayo
cee1571625
d/euroc: Fix euroc player skip functionality
2022-02-22 22:56:07 +00:00
Mateo de Mayo
4b94d83c11
a/math: Fix one euro implementations not dividing by dt
...
The dy name was kept. It can now be thought of as "[d]erivative of [y]"
instead of the previous "change of y". Also, the beta parameters of the
one-euro users were adjusted by approximately multiplying them by 0.016
to compensate.
2022-02-22 13:34:45 +00:00
nima01
be3546eb92
d/wmr: Reverb G1: Avoid camera buffer related hangs
2022-02-20 14:57:36 +00:00
Christoph Haag
49b81e219f
aux/util: Move fov from u_device_simple_info::views to top level
2022-02-19 13:04:32 +00:00
Christoph Haag
996a5d3e9a
xrt: Move fov from xrt_view to xrt_hmd_parts::distortion
2022-02-19 13:04:32 +00:00
Christoph Haag
5e1805f04b
build: Add sample driver to meson build
2022-02-19 13:04:32 +00:00
Ryan Pavlik
4ecbcc2d27
d/wmr: Fix doxygen warning
2022-02-19 01:15:36 +00:00
Christoph Haag
5b1d15f143
d/survive: Change license to BSL, as originally intended
2022-02-19 00:55:54 +00:00
Christoph Haag
b2e7fc0f11
d/survive: Add pragma once and c++ compatibility
2022-02-19 00:55:54 +00:00
Christoph Haag
bab6858eb8
d/multi: Change license to BSL, as originally intended
2022-02-19 00:55:54 +00:00
Christoph Haag
43f0bb4343
xrt: Fix tracking override docs
2022-02-19 00:43:30 +00:00
Nova
f2ec7a7dd5
d/survive: Add SURVIVE_DISABLE_HAND_EMULATION env variable
2022-02-17 13:20:59 +00:00
Jakob Bornecrantz
9b656cde77
xrt: Remove xrt_device::get_view_pose
...
Co-authored-by: Christoph Haag <christoph.haag@collabora.com>
2022-02-16 23:15:24 +00:00
Jakob Bornecrantz
0511b319ba
drivers: Implement xrt_device::get_view_poses
...
Co-authored-by: Christoph Haag <christoph.haag@collabora.com>
2022-02-16 23:15:08 +00:00
Jakob Bornecrantz
b322ff689b
d/wmr: Add trace markers to some common functions
2022-02-16 22:25:55 +00:00
Jakob Bornecrantz
4aa2ae985c
d/wmr: Refactor hololens code a bit
2022-02-16 22:25:55 +00:00
Jakob Bornecrantz
8f5a7b88c7
d/wmr: Tidy todos
2022-02-16 22:25:55 +00:00
Jakob Bornecrantz
7791a04069
d/rs: Add math include to fix build and org includes
...
Fixes build on Ubuntu 21.10
2022-02-14 14:34:06 +00:00
Mateo de Mayo
3cba6dc700
d/rs: Add exposure controls to the debug UI
2022-02-14 10:22:05 -03:00
nima01
41edf12a0d
d/wmr: Debug GUI support for enabling/disabling HMD screen and displaying IPD and proximity values
2022-02-12 03:45:16 +00:00
Moses Turner
7ee8a7dba0
d/dai: add stereo-RGB pipeline behind ifdef, waiting for Luxonis to upstream multicam support
2022-02-10 10:55:06 -06:00
Ryan Pavlik
c30acbf9f8
d/ht: Forward declarations and IWYU
2022-02-08 17:27:42 -06:00
Ryan Pavlik
5b8c869b56
d/ht: Fix header and usages of helpers
2022-02-08 17:21:46 -06:00
Ryan Pavlik
8c7af28904
d/ht: Fix build issues against updated history structure.
2022-02-08 16:58:24 -06:00
Ryan Pavlik
65ef8d58f1
d/ht: Cleanup usage of history buffer.
...
May wish to reconsider whether all these usages are required: they appear to only use the back (latest) element.
2022-02-08 17:00:11 +00:00
Moses Turner
614e0e58ae
d/ht: use new HistoryBuf api
2022-02-08 17:00:11 +00:00
Ryan Pavlik
d05df584b2
d/ht: Some cleanups
2022-02-08 17:00:11 +00:00
nima01
45466e419b
d/wmr: Reverb G1 proximity sensor support
2022-02-02 02:27:55 +01:00
Christoph Haag
2ad634bd1e
d/wmr: print json config on debug log level
2022-01-21 20:32:35 +00:00
Christoph Haag
6e339014a5
d/wmr: Add Medion Erazer X1000
2022-01-21 20:32:35 +00:00