diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 10:43:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 10:43:58 +0200 |
commit | 766fc776421a85958d52bf6f3bfbc189b65a0d5f (patch) | |
tree | c98d4559ab2bf46980fc3b55eaf53f7e408bc8e7 /facetracknoir/tracker.cpp | |
parent | e0322730ab08421113e5538c5202cfcb64b59ce6 (diff) |
remove "second tracker" support
Was always a kludge.
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r-- | facetracknoir/tracker.cpp | 7 |
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);
}
|