Jakob Bornecrantz
c5e5c98c9c
d/psmv: Shouldn't negate Z-axis in gyro calibration data
2019-09-11 22:20:20 +01:00
Jakob Bornecrantz
5b02974ae0
d/psmv: Correctly handle z-axis
2019-09-11 16:43:09 +01:00
Jakob Bornecrantz
e179349644
d/psvr: Super simple sensor "fusion"
2019-09-11 16:43:09 +01:00
Jakob Bornecrantz
750b8bb755
d/psvr: Expose more data via variable code
2019-09-11 16:43:09 +01:00
Jakob Bornecrantz
c2c230b3de
d/psvr: Refactor and improve packet reading
2019-09-11 16:43:09 +01:00
Jakob Bornecrantz
bf9bcf8e26
d/psvr: Read sensor packets when updating input
2019-09-11 16:43:09 +01:00
Jakob Bornecrantz
94d4822afb
d/psmv: Use correct calibration value
2019-09-08 10:01:55 +01:00
Jakob Bornecrantz
3b1abffa2d
xrt: Refactor frameserver start stream arguments
2019-09-07 14:34:20 +01:00
Jakob Bornecrantz
1b35846506
d/psmv: Expose more variables and add gui annotations
2019-09-07 14:34:20 +01:00
Jakob Bornecrantz
2a6e194b2d
d/psmv: Improve accelerometer adjustment
2019-09-06 19:14:12 +01:00
Jakob Bornecrantz
2e5c8f43a0
d/psmv: Export a whole lot more variables
2019-09-06 19:14:12 +01:00
Jakob Bornecrantz
9cf6108899
aux/util: Add more types to variable tracker
2019-09-06 18:12:15 +01:00
Jakob Bornecrantz
3f13224502
d/psmv: Fix strict aliasing warnings when compiling with optimisations
2019-09-06 15:46:17 +01:00
Jakob Bornecrantz
d6465bc017
d/psvr: Enable by default
2019-09-06 14:37:45 +01:00
Jakob Bornecrantz
8570493db1
d/psvr: Add variable tracking
2019-09-06 14:37:45 +01:00
Jakob Bornecrantz
9192c9c6b5
d/psmv: Add variable tracking
2019-09-06 14:37:45 +01:00
Jakob Bornecrantz
676bc81f40
d/v4l2: Add variable tracking
2019-09-06 14:37:45 +01:00
Jakob Bornecrantz
58008d2ff1
d/psmv: Return error code
2019-09-05 22:18:14 +01:00
Jakob Bornecrantz
1ae8acc71c
d/psmv: Read calibration data
2019-09-05 17:24:57 +01:00
Jakob Bornecrantz
29b1713be9
xrt: Add enum xrt_device_name so that state trackers can reason about device
2019-09-04 12:47:18 +01:00
Jakob Bornecrantz
a0f2793457
xrt: It's a cross not a x
2019-09-03 15:26:10 +01:00
Jakob Bornecrantz
cfa89b84c1
d/psmv: Tidy doc
2019-08-27 09:04:03 +01:00
Jakob Bornecrantz
1e93ba2461
xrt: Refactor frame interface
2019-08-27 08:17:21 +01:00
Jakob Bornecrantz
98d7c3542c
d/v4l2: Minor fixes
2019-08-27 08:17:21 +01:00
Ryan Pavlik
12de62fdbc
d/psmv: Fix typo in bit mask.
...
Found by clang-tidy.
2019-08-21 14:28:54 -05:00
Jakob Bornecrantz
c8f16be641
xrt: Refactor out frame from frameserver
2019-08-20 12:35:55 +01:00
Ryan Pavlik
ca47a216c3
d/psmv: Minor clang-tidy fixes
2019-08-16 17:25:29 -05:00
Ryan Pavlik
eef6d87da4
d/v4l2: Minor clang-tidy fixes
2019-08-16 17:25:29 -05:00
Ryan Pavlik
6088402605
d/psvr: Fix narrowing conversions
2019-08-16 10:45:26 -05:00
Ryan Pavlik
261b9125f6
d/hdk: Use string descriptor to guess at revision
2019-08-15 12:36:01 +00:00
Ryan Pavlik
853f8ab68e
d/hdk: Port to internal HID wrapper.
...
Not entirely feature-complete due to lack of access to descriptor strings.
2019-08-15 12:36:01 +00:00
Ryan Pavlik
2cd28914c7
d/hydra: Initially-functional multi-device Razer Hydra driver.
...
Not pretty - no filtering on tracking, coordinate system
probably a little bit wrong still, no hemisphere tracking,
but enough to show movement and resizing in hello_xr.
2019-07-29 03:01:57 +00:00
Jakob Bornecrantz
fb24bb979f
d/hdk: Fix warnings during release builds
2019-07-25 00:53:04 +01:00
Jakob Bornecrantz
4237b97d37
d/v4l2: Add control functions and expand PS4 quirk
2019-07-24 19:49:48 +01:00
Jakob Bornecrantz
718a81608a
d/v4l2: Add new frameserver
2019-07-23 17:41:34 +01:00
Jakob Bornecrantz
35093bee3c
d/psmv: Use new prober function helpers
2019-06-30 14:35:27 +01:00
Jakob Bornecrantz
cc83b93733
d/psmv: Add helper function to convert value to u8
2019-06-28 18:32:30 +01:00
Ryan Pavlik
1f84814721
st/prober: Allow "found" functions called by prober to make more than one device.
2019-06-22 11:34:51 +01:00
Jakob Bornecrantz
0fa7af1dd2
d/psvr: Set name of PSVR headset
2019-06-21 21:55:43 +01:00
Ryan Pavlik
3cc7ee872a
d/psmv: Fix typo
2019-06-21 13:17:55 -05:00
Jakob Bornecrantz
542208bd42
d/ohmd: Fix warning by including right header
2019-06-19 16:45:10 +01:00
Caleb Szalacinski
6664588eba
Added a delay quirk to allow the Oculus Rift CV1 to initialize properly.
2019-06-18 20:36:43 -05:00
Ryan Pavlik
3de9b08ebc
d/psmv: Use U_ZERO
2019-06-18 14:14:01 -05:00
Ryan Pavlik
2175a4226b
d/psvr: Use U_ZERO
2019-06-18 14:14:01 -05:00
Ryan Pavlik
287bd1cb06
d/ohmd: Cast bitmask enum
2019-06-18 18:43:20 +00:00
Ryan Pavlik
839d08616e
drv/psvr: Fix some enum casting build errors
2019-06-18 18:43:20 +00:00
Ryan Pavlik
fbfee92601
d/oh: Have prober include interface header
...
Without this, the implementation definition might drift from the declaration,
and it doesn't get its extern "C"-ness.
2019-06-18 13:32:07 -05:00
Ryan Pavlik
0472bef1fa
d/hdk: Have prober include interface header
...
Without this, the implementation definition might drift from the declaration,
and it doesn't get its extern "C"-ness.
2019-06-18 13:31:32 -05:00
Ryan Pavlik
de0506fb0c
d/oh: Codespell fix
2019-06-18 13:09:59 -05:00
Ryan Pavlik
aeff374fcb
d/psvr: Codespell fix
2019-06-18 13:09:59 -05:00
Jakob Bornecrantz
b71e143eaa
d/psmv: Add PS Move driver
2019-06-18 17:56:10 +01:00
Jakob Bornecrantz
89d8315b3b
xrt: Add output interfaces
2019-06-10 14:47:19 +01:00
Jakob Bornecrantz
1f64f714f6
xrt: Add input, hmd_parts and tracking interface
...
This patch has been spun of the rather massive amount of work for adding input
devices into Monado. The interfaces feels somewhat stable now so could do
with another pair of eyes on them, before too much work is done on st/oxr.
2019-06-10 14:47:19 +01:00
Jakob Bornecrantz
42cddb2580
d/psvr: Add a experimental PSVR driver
...
Hidden behind a env variable.
2019-05-06 16:46:10 +00:00
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