Home
last modified time | relevance | path

Searched refs:pose2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libheadtracking/
DPoseDriftCompensator-test.cpp40 Pose3f pose2({4, 5, 6}, Quaternionf::UnitRandom()); in TEST() local
47 comp.setInput(2000, pose2); in TEST()
48 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST()
57 comp.setInput(4000, pose2); in TEST()
58 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST()
63 Pose3f pose2({4, 5, 6}, Quaternionf::UnitRandom()); in TEST() local
69 comp.setInput(1000, pose2); in TEST()
70 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST()
78 comp.setInput(1000, pose2); in TEST()
79 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST()
[all …]
DPoseRateLimiter-test.cpp53 Pose3f pose2({1, 2, 8}, rotateZ(M_PI * 5 / 8)); in TEST() local
55 limiter.setTarget(pose2); in TEST()
56 EXPECT_EQ(limiter.calculatePose(1000), pose2); in TEST()
64 limiter.setTarget(pose2); in TEST()
66 limiter.setTarget(pose2); in TEST()
69 limiter.setTarget(pose2); in TEST()
71 limiter.setTarget(pose2); in TEST()
72 EXPECT_EQ(limiter.calculatePose(1006), pose2); in TEST()
81 Pose3f pose2({1, 2, 8}, rotateZ(M_PI * 5 / 8)); in TEST() local
88 limiter.setTarget(pose2); in TEST()
[all …]
DPoseBias-test.cpp38 Pose3f pose2({4, 5, 6}, Quaternionf::UnitRandom()); in TEST() local
45 bias.setInput(pose2); in TEST()
46 EXPECT_EQ(bias.getOutput(), pose1.inverse() * pose2); in TEST()
DStillnessDetector.cpp108 bool StillnessDetector::areNear(const Pose3f& pose1, const Pose3f& pose2) const { in areNear()
112 if ((pose1.translation() - pose2.translation()).lpNorm<1>() > mOptions.translationalThreshold) { in areNear()
120 if (pose1.rotation().dot(pose2.rotation()) < mCosHalfRotationalThreshold) { in areNear()
DStillnessDetector.h104 bool areNear(const Pose3f& pose1, const Pose3f& pose2) const;