diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 11:06:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 11:28:33 +0200 |
commit | 219d4f0ee556d1f4304447f9d0c2b34f3762b4f8 (patch) | |
tree | 6ba0389de09234427f182d8cc9a8ee52f8f2478d /tracker-aruco/ftnoir_tracker_aruco.cpp | |
parent | 5103b3c23879797023c79254d0bae83ee4eb6a01 (diff) |
cv/calibrator: return nsamples, separate pitch/yaw spacing
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 3 |
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); |