summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-20 12:06:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-20 12:06:34 +0200
commit617d0af743d408adb8ff044b1b437b1f3f4bee14 (patch)
treea2e06f7c63c0047a80b5ef4c709a579b83cda8e1
parent7b06929f7392cab4171b23cd3206940ba6188948 (diff)
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
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp2
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.cpp2
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()