Christoph Haag
e3b74c2e70
d/vive: Fix _json_get_string
2020-04-28 10:22:42 +00:00
Christoph Haag
04ebc42666
d/vive: Make common functions available through vive_protocol.h
...
Move common code to vive_protocol.c
2020-04-28 10:22:41 +00:00
Jakob Bornecrantz
e37d8f4cf5
xrt: Remove timestate from xrt_device interface
2020-04-16 17:29:34 +01:00
Jakob Bornecrantz
de20d87f87
xrt: Make it possible for the prober to pass in JSON data to the drivers
2020-04-10 12:29:21 +00:00
Jakob Bornecrantz
99eda56d39
d/vive: Use new 3DOF fusion
2020-03-25 13:58:51 +00:00
Ryan Pavlik
0cb53a8c53
d/vive: Add missing include
2020-03-04 11:15:35 +00:00
Ryan Pavlik
8f0082e810
drivers: Clean up documentation.
...
Making the Modules page in Doxygen more consistent.
2020-03-02 12:35:49 -06:00
Ryan Pavlik
84dfbf241f
d/vive: Fix typo.
2020-01-31 10:47:52 +01:00
Jakob Bornecrantz
a48d5bb835
d/vive: Also rotate acceleration
2020-01-24 21:43:32 +00:00
Jakob Bornecrantz
382813edd6
d/vive: Dump JSON config on debug instead of spew
2020-01-14 15:59:41 +00:00
Jakob Bornecrantz
8ded6bac8b
d/vive: Extract lighthouse data
2020-01-14 15:59:41 +00:00
Ryan Pavlik
ae466ce70e
d/vive: Fix typos.
2020-01-09 16:32:18 -06:00
Jakob Bornecrantz
b816afce63
d/vive: Extract Index canting parameter from the config
2020-01-09 15:22:14 +00:00
Ryan Pavlik
290bd7937b
d/vive: Port to cJSON.
...
Replacing nxjson because of license issues: upstream of nxjson is LGPL3.
2020-01-09 15:21:04 +00:00
Jakob Bornecrantz
d6ca37bc70
d/vive: Set last acc and gyro values
2020-01-09 15:21:04 +00:00
Jakob Bornecrantz
8306e00bd1
d/vive: Apply all axis flip after scale and bias
2020-01-09 15:21:04 +00:00
Jakob Bornecrantz
995ecfaac2
d/vive: Tidy IMU code
2020-01-09 15:21:04 +00:00
Jakob Bornecrantz
4895ab704c
d/vive: Tidy and refactor config parsing
2020-01-09 15:21:04 +00:00
Jakob Bornecrantz
ba104f59f3
d/vive: Tidy motherboard thread
2019-12-22 14:08:14 +00:00
Jakob Bornecrantz
85197f1584
d/vive: Tidy sensors thread
2019-12-22 14:08:14 +00:00
Jakob Bornecrantz
784b53ded2
d/vive: Spew instead of debug vive_device_update_inputs
2019-12-22 13:35:37 +00:00
Ryan Pavlik
c92590930d
d/vive: clang-tidy
2019-12-07 18:25:37 +00:00
Ryan Pavlik
c9f1b2be4b
d/vive: Port realloc to helper macro
2019-12-07 18:24:56 +00:00
Ryan Pavlik
e11eb0203f
d/vive: Initializer order fix
2019-12-07 18:24:56 +00:00
Ryan Pavlik
282f38ca62
d/vive: Type safety fix
2019-12-07 18:24:52 +00:00
Ryan Pavlik
e44dd1a755
d/vive: Use define for standard gravity
2019-11-11 17:57:40 -06:00
Drew DeVault
4c7f830ea5
d/vive: reset orientation on headset button
2019-11-07 09:39:33 -05:00
Jakob Bornecrantz
1f02c54858
d/vive: Fix copy typo
2019-11-07 13:45:56 +00:00
Lubosz Sarnecki
2ffa77d923
d/vive: Handle error when config could not be read.
2019-11-07 14:16:09 +01:00
Lubosz Sarnecki
db1e5b9f16
d/vive: Initialize useful defaults.
...
This initializes default values in the display, distortion and IMU
properties so the runtime is happy in case the JSON config could not be
read.
This patch also moves default value initialization for the Index
into one place with the others, for cases we do not have the data.
2019-11-07 14:16:09 +01:00
Ryan Pavlik
059234bbfc
d/vive: Cleanup scopes, types, leak in vive_sensors_read_config
2019-11-01 22:41:22 +00:00
Drew DeVault
6bce0838e0
d/vive: Fix minor typo in vive driver
2019-11-01 14:35:41 +00:00
Jakob Bornecrantz
aa52da072f
xrt: Remove relation input type
2019-10-24 21:51:07 +01:00
Jakob Bornecrantz
35ae8f31ce
d/vive: Add some variable tracking
2019-10-22 18:52:52 +01:00
Lubosz Sarnecki
5becb60714
d/vive: Use different device string for each variant.
2019-10-22 19:18:47 +02:00
Lubosz Sarnecki
02dc839ca8
d/vive: Add initial support for the Valve Index.
2019-10-22 19:18:47 +02:00
Lubosz Sarnecki
2ed3109c95
d/vive: Add initial support for Vive Pro.
2019-10-22 19:18:47 +02:00
Lubosz Sarnecki
e063e8245e
d/vive: Add native driver for the Vive.
...
This adds a driver for the Vive family of devices based on Philipp
Zabel's ouvrt.
The driver currently only handles the IMU and main board report streams,
but is able to acquire the JSON configuration and utilize it for IMU
calibration as well as distortion configuration.
2019-10-22 19:18:47 +02:00