From 0c86a72314bb49edd6f25326a983259fe4c13a0c Mon Sep 17 00:00:00 2001 From: Wolfgang Hoenig Date: Thu, 15 Aug 2024 09:54:17 +0200 Subject: [PATCH] hybrid tracking: output orientation --- src/rigid_body_tracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rigid_body_tracker.cpp b/src/rigid_body_tracker.cpp index 56ee156..5d8ac4e 100644 --- a/src/rigid_body_tracker.cpp +++ b/src/rigid_body_tracker.cpp @@ -1001,7 +1001,7 @@ void RigidBodyTracker::updateHybrid(std::chrono::high_resolution_clock::time_poi rigidBody.m_velocity = (rigidBody.m_lastTransformation.translation() - rigidBody.center()) / dt; rigidBody.m_lastValidTransform = stamp; rigidBody.m_lastTransformationValid = true; - rigidBody.m_hasOrientation = false; + rigidBody.m_hasOrientation = true; } }