From 219d4f0ee556d1f4304447f9d0c2b34f3762b4f8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 Mar 2017 11:06:03 +0200 Subject: cv/calibrator: return nsamples, separate pitch/yaw spacing --- tracker-aruco/ftnoir_tracker_aruco.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tracker-aruco') diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index d331c59e..b69439c6 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -499,7 +499,8 @@ void aruco_dialog::toggleCalibrate() { cleanupCalib(); - auto pos = calibrator.get_estimate(); + cv::Vec3d pos; + std::tie(pos, std::ignore) = calibrator.get_estimate(); s.headpos_x = -pos(0); s.headpos_y = -pos(1); s.headpos_z = -pos(2); -- cgit v1.2.3