summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-12 18:50:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-12 18:50:44 +0100
commitc2b5f86e85698068bd92de0e59e4f7b90c04cd60 (patch)
treed1efa558979b6e854a71f69d43b8b607f02933a4 /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
parentd471aba741dc9e3c70c919820e36a2613590d723 (diff)
remove fisheye correction based on wrong focal length
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 77f794b9..9d484775 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -353,12 +353,6 @@ void Tracker::run()
pose[Yaw] = euler[1];
pose[Pitch] = -euler[0];
pose[Roll] = euler[2];
-
- if (s.fisheye_correction)
- {
- pose[Yaw] -= atan(pose[TX] / pose[TZ]) * 180 / HT_PI;
- pose[Pitch] -= atan(pose[TY] / pose[TZ]) * 180 / HT_PI;
- }
}
std::vector<cv::Point2f> repr2;
@@ -482,7 +476,6 @@ TrackerControls::TrackerControls()
tie_setting(s.headpos_z, ui.cz);
tie_setting(s.red_only, ui.red_only);
tie_setting(s.marker_pitch, ui.marker_pitch);
- tie_setting(s.fisheye_correction, ui.fisheye_correction);
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
ui.cameraName->addItems(get_camera_names());