summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-16 13:40:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-16 13:41:17 +0100
commit028f3111d6004438987d698918fd9f851b91ec84 (patch)
tree9aba41de8c98edc0653a660b6634f924138e51d2
parente0c4712a58c8be5b4640bf8852190b1e7813c7fe (diff)
tracker/{aruco,pt}: adjust usages for the calibrator
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp5
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.cpp3
2 files changed, 5 insertions, 3 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 282a6516..d331c59e 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -452,10 +452,11 @@ void aruco_tracker::data(double *data)
data[TZ] = pose[TZ];
}
-aruco_dialog::aruco_dialog()
+aruco_dialog::aruco_dialog() :
+ calibrator(1, 0)
{
tracker = nullptr;
- calib_timer.setInterval(250);
+ calib_timer.setInterval(100);
ui.setupUi(this);
setAttribute(Qt::WA_NativeWindow, true);
ui.cameraName->addItems(get_camera_names());
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
index d3951bd9..5c7c788b 100644
--- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp
+++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
@@ -16,7 +16,8 @@
TrackerDialog_PT::TrackerDialog_PT()
: tracker(nullptr),
- timer(this)
+ timer(this),
+ trans_calib(1, 2)
{
ui.setupUi(this);