From 028f3111d6004438987d698918fd9f851b91ec84 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 16 Mar 2017 13:40:44 +0100 Subject: tracker/{aruco,pt}: adjust usages for the calibrator --- tracker-aruco/ftnoir_tracker_aruco.cpp | 5 +++-- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 3 ++- 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); -- cgit v1.2.3