Home
last modified time | relevance | path

Searched refs:newPose (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/
DNullPositionFilter.java71 Pose newPose = poseSource.getPose(); in updatePose() local
72 if (mLastPose != null && newPose != null && newPose != mLastPose) { in updatePose()
73 Pose deltaPose = Pose.compose(newPose.inverted(), mLastPose); in updatePose()
88 mLastPose = newPose; in updatePose()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/
DPositionFilterImpl.java112 Pose newPose = poseSource.getPose(); in updatePose() local
113 if (mLastPose != null && newPose != null && newPose != mLastPose) { in updatePose()
114 Pose deltaPose = Pose.compose(newPose.inverted(), mLastPose); in updatePose()
117 mLastPose = newPose; in updatePose()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/
DBackAzimuthPrimer.java172 Pose newPose = poseSource.getPose(); in prime() local
173 if (mLastPose == null || newPose == null || mLastPose == newPose || mLastInput == null) { in prime()
175 mLastPose = newPose; in prime()
183 Pose deltaPose = Pose.compose(newPose.inverted(), mLastPose); in prime()
213 mLastPose = newPose; in prime()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/
DUwbFilterEngineTest.java116 Pose newPose = engine.getPose(); in poseChanges() local
117 assertThat(newPose.translation.lengthSquared()).isEqualTo(0); in poseChanges()
118 assertClose(newPose.rotation.toYawPitchRoll().x, -0.5f); in poseChanges()