summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r--facetracknoir/tracker.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index dd37e883..90e9bdad 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -91,9 +91,6 @@ void Tracker::run() {
if (Libraries->pTracker)
sleep_ms = std::min(sleep_ms, 1000 / Libraries->pTracker->preferredHz());
- if (Libraries->pSecondTracker)
- sleep_ms = std::min(sleep_ms, 1000 / Libraries->pSecondTracker->preferredHz());
-
qDebug() << "tracker Hz:" << 1000 / sleep_ms;
#if defined(_WIN32)
@@ -107,10 +104,6 @@ void Tracker::run() {
if (should_quit)
break;
- if (Libraries->pSecondTracker) {
- Libraries->pSecondTracker->GetHeadPoseData(newpose);
- }
-
if (Libraries->pTracker) {
Libraries->pTracker->GetHeadPoseData(newpose);
}