diff options
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r-- | facetracknoir/tracker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index c3a61263..ed39765d 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -169,6 +169,8 @@ void Tracker::run() { if (Libraries->pTracker) {
bTracker1Confid = Libraries->pTracker->GiveHeadPoseData(&newpose);
}
+
+ confid = (bTracker1Confid || bTracker2Confid);
bool newp = last.yaw != newpose.yaw ||
last.pitch != newpose.pitch ||
@@ -301,7 +303,6 @@ void Tracker::run() { }
//for lower cpu load
- confid = (bTracker1Confid || bTracker2Confid);
usleep(1000);
}
|