From 49f9a1a46ffa5cdd5b5e7f82b8ff309b3c6b006e Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 20 Nov 2019 12:41:28 +0000 Subject: [PATCH] t/calib: Add stub for hacking in measurments --- src/xrt/auxiliary/tracking/t_calibration.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/xrt/auxiliary/tracking/t_calibration.cpp b/src/xrt/auxiliary/tracking/t_calibration.cpp index 2e1871702..0da3ecc2c 100644 --- a/src/xrt/auxiliary/tracking/t_calibration.cpp +++ b/src/xrt/auxiliary/tracking/t_calibration.cpp @@ -666,5 +666,17 @@ t_calibration_stereo_create(struct xrt_frame_context *xfctx, c.chessboard_model.push_back(p); } +#if 0 + c.state.view[0].measured = (ArrayOfMeasurements){ + }; + + c.state.view[1].measured = (ArrayOfMeasurements){ + }; + + for (Measurement &m : c.state.view[0].measured) { + (void)m; + c.state.board_models.push_back(c.board.model); + } +#endif return ret; }