From 5122ecd0b0f95c15928cfaa653581d53b0b27fac Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Thu, 12 May 2022 20:55:27 +0100 Subject: [PATCH] d/dai: Fisheye calibration was upstreamed, actually use it now --- src/xrt/drivers/depthai/depthai_driver.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xrt/drivers/depthai/depthai_driver.cpp b/src/xrt/drivers/depthai/depthai_driver.cpp index 9efdf91c4..e247cfc11 100644 --- a/src/xrt/drivers/depthai/depthai_driver.cpp +++ b/src/xrt/drivers/depthai/depthai_driver.cpp @@ -197,12 +197,8 @@ depthai_get_gray_cameras_calibration(struct depthai_fs *depthai, struct t_stereo uint32_t num_dist = 14; -#if 0 // Good enough assumption that they're using the same distortion model bool use_fisheye = calibData.getDistortionModel(dai::CameraBoardSocket::LEFT) == dai::CameraModel::Fisheye; -#else - bool use_fisheye = false; -#endif if (use_fisheye) { num_dist = 4; }