You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 2, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: MotionTrackingJava/app/src/main/java/com/projecttango/experiments/javamotiontracking/MotionTrackingActivity.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,12 @@ public void onPoseAvailable(final TangoPoseData pose) {
216
216
updateUI = true;
217
217
}
218
218
219
+
// If the pose is not valid, we may not get another callback so make sure to update
220
+
// the UI during this call
221
+
if (pose.statusCode != TangoPoseData.POSE_VALID) {
0 commit comments