From 617d0af743d408adb8ff044b1b437b1f3f4bee14 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 May 2016 12:06:34 +0200 Subject: tracker/{pt,aruco} increase calibration interval In particular PT's calibration interval was 10 Hz which is too much by far. Make both 4 Hz. Issue: #344 --- tracker-aruco/ftnoir_tracker_aruco.cpp | 2 +- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 365cca5d..7208f742 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -357,7 +357,7 @@ void Tracker::data(double *data) TrackerControls::TrackerControls() { tracker = nullptr; - calib_timer.setInterval(200); + calib_timer.setInterval(250); 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 551910f7..a6f8d8d0 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -72,7 +72,7 @@ TrackerDialog_PT::TrackerDialog_PT() connect(&timer,SIGNAL(timeout()), this,SLOT(poll_tracker_info())); connect(ui.camera_settings, SIGNAL(pressed()), this, SLOT(camera_settings())); - timer.start(100); + timer.start(250); } void TrackerDialog_PT::camera_settings() -- cgit v1.2.3