summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-08-31 14:09:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-08-31 14:09:21 +0200
commita6c631e21997b7862c9481b6fe99410987ff037f (patch)
treee8ef8d66d0b925059e45fdf7731c27a939b2a770 /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
parent565c330eeece2edf93e9fa53d4fab27045ca9b3d (diff)
iterations update calib state, no need to do twice
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 18301b6a..176fd9b1 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -489,13 +489,7 @@ void TrackerControls::toggleCalibrate()
void TrackerControls::cleanupCalib()
{
if (calib_timer.isActive())
- {
calib_timer.stop();
- auto pos = calibrator.get_estimate() * .1;
- s.headpos_x = pos(0);
- s.headpos_y = pos(1);
- s.headpos_z = pos(2);
- }
}
void TrackerControls::update_tracker_calibration()