Ryan Pavlik
bc49fd4803
t/calib: Use cv::Mat_<> for wrappers since the element type is known
2020-01-16 09:08:32 -06:00
Ryan Pavlik
fcdebc6e9d
aux/tracking: Re-organize structs related to camera calibration.
...
Removes the "raw" data structures for camera calibration, not needed.
The only thing they contained beyond the revised regular structures
was derived data that the consumer might parameterize differently.
Renames t_settings_stereo to t_stereo_camera_calibration.
The calibration info is data (that could be stored on the device, etc),
not settings.
2020-01-16 09:07:52 -06:00
Ryan Pavlik
44b20d4d1b
xrt: Update editorconfig
2020-01-16 00:02:59 +00:00
Jakob Bornecrantz
771006f97b
t/calib: Fix OpenCV type-related assertions and some perf enhancments
...
Pre-reserve, use emplace to avoid copies.
This is a combination of Ryan's patches and mine.
t/calib: performance improvements
t/calib: Fix doxygen warning
t/calib: Fix asserts and some perf enhancments
2020-01-16 00:02:56 +00:00
Samantha Bowen
14bfd17f39
d/ohmd: Add position tracking.
2020-01-15 21:07:05 +00:00
Ryan Pavlik
b44f14d348
st/gui: Display the calibration status data.
2020-01-14 15:55:50 -06:00
Ryan Pavlik
9790ca7602
t/calib: Add interface for getting some status info on calib process.
2020-01-14 15:55:50 -06:00
Ryan Pavlik
dec5d8de7d
st/gui: Update camera calibration config GUI
2020-01-14 15:55:50 -06:00
Ryan Pavlik
871395d5b5
build: Adjust meson build equivalently
2020-01-14 12:28:23 -06:00
Ryan Pavlik
066f57d7d8
external: Update flexkalman
2020-01-14 11:51:12 -06:00
Ryan Pavlik
c68d3bfe54
build: Adjust CMake build to allow actually disabling dependencies/options
2020-01-14 11:51:12 -06:00
Ryan Pavlik
f834d20300
xrt: Move OpenXR platform defines to build system
2020-01-14 11:51:12 -06:00
Ryan Pavlik
130a649f92
build: Move checking of sufficient enabled drivers to the drivers dir
2020-01-14 11:51:12 -06:00
Ryan Pavlik
639b524ec9
build: Adjust looking for OpenGL and EGL
2020-01-14 11:51:12 -06:00
Ryan Pavlik
6df97aad00
build: Make FindEGL work without the KDE modules
2020-01-14 11:51:12 -06:00
Ryan Pavlik
a8ac420f06
build: Add FindEGL.cmake from KDE's extra-cmake-modules
2020-01-14 11:51:12 -06:00
Ryan Pavlik
47f704277a
xrt: Let BUILD_TRACKING mean you need more than just the IMU fusion.
...
This is required to build anything that uses the IMU fusion module
without OpenCV.
2020-01-14 11:51:12 -06:00
Ryan Pavlik
2f5da6cf8a
editorconfig: Python files have 4-space indents
2020-01-14 11:51:12 -06:00
Ryan Pavlik
4687955b17
FindOpenHMD: Handle transitive link of libhidapi better.
2020-01-14 11:51:12 -06:00
Ryan Pavlik
67a561d0ea
st/oxr: Fix ifdef guards
2020-01-14 11:51:12 -06:00
Ryan Pavlik
682f41a37c
comp: Fix build when VK_USE_PLATFORM_XLIB_XRANDR_EXT is not defined
2020-01-14 11:51:12 -06:00
Ryan Pavlik
358cde31b7
comp: Add a comment explaining why a function is guarded
2020-01-14 11:51:12 -06:00
Ryan Pavlik
d03db42075
d/hdk: Does not require hidapi
2020-01-14 11:51:12 -06: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
Jakob Bornecrantz
5bf65b41fa
math: Add some more functions
2020-01-14 15:59:41 +00:00
Jakob Bornecrantz
796d9c49ec
t/calib: Support stereo fisheye in the config file
2020-01-14 15:42:31 +00:00
Jakob Bornecrantz
4ae650a006
t/calib: Support stereo fisheye in stereo calibration
2020-01-14 15:42:31 +00:00
Jakob Bornecrantz
0e6b908f80
t/callib: Move stereo calibration to new interaction
2020-01-14 15:42:31 +00:00
Jakob Bornecrantz
3f9d94cb8a
d/psmv: Mark ball pose as active depending on tracking
2020-01-13 21:59:37 +00:00
Jakob Bornecrantz
c383a933ea
st/oxr: Propegate device input active status through API
2020-01-13 21:59:37 +00:00
Jakob Bornecrantz
7082a599c7
xrt: Make it possible for the device set active status on inputs
2020-01-13 21:59:37 +00:00
Jakob Bornecrantz
998b198b44
math: Fix math_pose_invert
2020-01-13 10:37:14 +00:00
Ryan Pavlik
4cc9380f0b
st/oxr: Fix missing include.
2020-01-09 17:36:24 -06:00
Ryan Pavlik
c1928468af
t/gui: Fix SDL flag enum type
2020-01-09 17:35:54 -06:00
Ryan Pavlik
c123195800
t/oxr: Fix type issue with sdl2 code
2020-01-09 17:35:54 -06:00
Ryan Pavlik
9e953083fc
st/oxr: Move shipped binding data into a separate header to avoid re-declaration of statics
2020-01-09 17:35:54 -06:00
Ryan Pavlik
13c099f59e
xrt: Fix for mismatched parameter names
2020-01-09 22:54:01 +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
Jakob Bornecrantz
7618f4c5a4
math: Make it possible to get a rotation from a rotation matrix
2020-01-09 15:22:14 +00:00
Jakob Bornecrantz
35fcd2ae3d
xrt: Add xrt_matrix_3x3
2020-01-09 15:22:14 +00:00
Ryan Pavlik
2ad93677e8
src/external: Remove nxjson
2020-01-09 15:21:04 +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
eda46d3bea
util: Add some wrapper files around cJSON
...
This makes cJSON files be accessible from everywhere in Monado,
and adds a nice place to add common helpers.
2020-01-09 15:21:04 +00:00
Ryan Pavlik
b564499abf
src/external: Add cJSON.
...
MIT licensed, single-source-file, API quite similar to nxjson,
seemingly somewhat well tested and active.
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