The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/rift_s: init distortion params matrice

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2140>

+1 -1
+1 -1
src/xrt/drivers/rift_s/rift_s_util.cpp
··· 263 263 264 264 /* Use the calculated distortion grid to solve for kb4 params */ 265 265 { 266 - Eigen::Matrix<double, N_KB4_DISTORT_PARAMS, 1> kb4_distort_params; 266 + Eigen::Matrix<double, N_KB4_DISTORT_PARAMS, 1> kb4_distort_params{0, 0, 0, 0}; 267 267 268 268 using AutoDiffDistortParamKB4Function = 269 269 TinySolverAutoDiffFunction<DistortParamKB4CostFunctor, 2 * STEPS * STEPS, N_KB4_DISTORT_PARAMS>;