summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-16 13:32:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-16 13:41:15 +0100
commit426ee39a2c2a50f08ed89b7471ba40416293e451 (patch)
treec8e6ed344c7457f91e428f09034c4a5c10d4acd0 /tracker-aruco/ftnoir_tracker_aruco.cpp
parent62b952b9939940daf9c7132eb408d070c77eaf8d (diff)
tracker/aruco: we never meant to copy the calibrator
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index ec778624..282a6516 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -499,9 +499,9 @@ void aruco_dialog::toggleCalibrate()
cleanupCalib();
auto pos = calibrator.get_estimate();
- s.headpos_x = pos(0);
- s.headpos_y = pos(1);
- s.headpos_z = pos(2);
+ s.headpos_x = -pos(0);
+ s.headpos_y = -pos(1);
+ s.headpos_z = -pos(2);
}
}