Jakob Bornecrantz
dc9ab44a5a
xrt: Rename xrt_prober to xrt_auto_prober
2019-05-03 18:53:07 +01:00
Jakob Bornecrantz
c8cdf3ee38
d/ohmd: Tidy code style
2019-04-30 14:02:00 +01:00
Jakob Bornecrantz
9c05e853cc
build: Refactor flags and definitions (and fix fallout)
...
Defines:
* XRT_HAVE_[name] is a external dep indicator.
* XRT_DRIVER_[name] if a internal driver is built.
CMake variables:
* BUILD_WITH_[name] is a external dep indicator.
* BUILD_DRIVER_[name] tells if we should build a specific driver.
2019-04-29 17:18:09 +01:00
Jakob Bornecrantz
831b52f71e
d/ohmd: Refactor quirking some more
2019-04-27 09:21:12 +01:00
Jakob Bornecrantz
8675142e32
d/ohmd: Refactor quirking code
2019-04-27 09:06:33 +01:00
Jakob Bornecrantz
79d7555449
d/ohmd: Make rotate in be more correct
2019-04-27 08:32:44 +01:00
Jakob Bornecrantz
e39260eb67
d/ohmd: Add quirk for PSVR
...
The OpenHMD driver does not have any sensible panotools values
2019-04-19 14:56:47 +01:00
Jakob Bornecrantz
ab6defc610
d/*: Add a bit of documentation organization
2019-04-12 14:08:46 +01:00
Ryan Pavlik
5cfa0907b6
build: Use and obey config options for driver selection.
...
We had BUILD_WITH_OPENHMD but it was unused,
while the HDK driver always built if the deps were found.
2019-04-08 19:11:04 +00:00
Christoph Haag
55ec276810
d/ohmd: Set xrt_device name to name from OpenHMD
2019-04-05 09:52:29 +01:00
Jakob Bornecrantz
e4a016f4d6
d/hdk: Tidy code style
2019-04-03 17:00:43 +01:00
Jakob Bornecrantz
5d5d420fb6
d/hdk: Fix unhandled case warnings
2019-03-27 17:34:46 +00:00
Ryan Pavlik
dc990a8e77
d/hdk: Adjust timestamp for latency, based on experiments.
2019-03-27 16:22:45 +00:00
Jakob Bornecrantz
bf2eae1524
d/hdk: Tidy code style
2019-03-27 13:36:30 +00:00
Ryan Pavlik
605005b7c2
oh: Compare current and previous quaternion to detect old data.
...
Bitwise comparison because we have no timestamp to check.
2019-03-25 16:37:12 -05:00
Ryan Pavlik
cfb315d714
oh: Use finite differencing to find ang velocity.
...
Only if we can't get it from OpenHMD directly,
and only if not disabled explicitly.
2019-03-25 12:28:54 -05:00
Ryan Pavlik
9004ea80bb
xrt: Devices get a timekeeping object, must return a timestamp.
...
Updates drivers to match.
2019-03-25 12:28:54 -05:00
Ryan Pavlik
294be21392
d/oh: Populate nominal frame interval
2019-03-25 12:28:54 -05:00
Ryan Pavlik
3e7b9169d6
d/hdk: Populate nominal frame interval
2019-03-25 12:28:54 -05:00
Ryan Pavlik
a06a9eaac2
hdk: Skip apparent matches that have weird USB props.
2019-03-22 17:05:02 -05:00
Ryan Pavlik
f7d990c7e3
xrt: Use U_TYPED_CALLOC
2019-03-22 13:47:51 -05:00
Ryan Pavlik
142a9a77eb
d/hdk: clarify display transforms and add an ifdef to not rotate.
2019-03-22 17:35:18 +00:00
Ryan Pavlik
3a1a120238
d/hdk: Fix orientation and angular velocity of tracker
2019-03-22 17:35:18 +00:00
Ryan Pavlik
32fd930ada
d/hdk: Neatly handle disconnects
2019-03-22 17:35:18 +00:00
Ryan Pavlik
9d0888cd7d
d/hdk: Harden against USB issues in prober.
2019-03-22 17:35:18 +00:00
Ryan Pavlik
b74e7c74e2
d/hdk: Handle more models
2019-03-22 17:35:18 +00:00
Ryan Pavlik
d1ec5fa66a
oh: Fix type issues
2019-03-22 16:54:14 +00:00
Lubosz Sarnecki
a87e6e664e
oh: Initialize VIVE distortion parameters with default values from my VIVE.
2019-03-18 14:45:31 +01:00
Jakob Bornecrantz
15a97422ba
xrt: Add all of Monado
2019-03-18 05:52:32 +00:00