summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp3
1 files changed, 2 insertions, 1 deletions
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);