Searched refs:pose1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libheadtracking/ |
D | PoseDriftCompensator-test.cpp | 39 Pose3f pose1({1, 2, 3}, Quaternionf::UnitRandom()); in TEST() local 44 comp.setInput(1000, pose1); in TEST() 48 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST() 54 comp.setInput(3000, pose1); in TEST() 58 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST() 62 Pose3f pose1({1, 2, 3}, Quaternionf::UnitRandom()); in TEST() local 66 comp.setInput(1000, pose1); in TEST() 70 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST() 75 comp.setInput(1000, pose1); in TEST() 79 EXPECT_EQ(comp.getOutput(), pose1.inverse() * pose2); in TEST() [all …]
|
D | PoseRateLimiter-test.cpp | 52 Pose3f pose1({1, 2, 3}, Quaternionf::Identity()); in TEST() local 59 limiter.setTarget(pose1); in TEST() 60 EXPECT_EQ(limiter.calculatePose(1001), pose1); in TEST() 75 limiter.setTarget(pose1); in TEST() 76 EXPECT_EQ(limiter.calculatePose(1007), pose1); in TEST() 80 Pose3f pose1({1, 2, 3}, Quaternionf::Identity()); in TEST() local 83 limiter.setTarget(pose1); in TEST() 84 EXPECT_EQ(limiter.calculatePose(1000), pose1); in TEST() 96 limiter.setTarget(pose1); in TEST() 97 EXPECT_EQ(limiter.calculatePose(1003), pose1); in TEST()
|
D | PoseBias-test.cpp | 37 Pose3f pose1({1, 2, 3}, Quaternionf::UnitRandom()); in TEST() local 41 bias.setInput(pose1); in TEST() 42 EXPECT_EQ(pose1, bias.getOutput()); in TEST() 46 EXPECT_EQ(bias.getOutput(), pose1.inverse() * pose2); in TEST()
|
D | StillnessDetector.cpp | 108 bool StillnessDetector::areNear(const Pose3f& pose1, const Pose3f& pose2) const { in areNear() argument 112 if ((pose1.translation() - pose2.translation()).lpNorm<1>() > mOptions.translationalThreshold) { in areNear() 120 if (pose1.rotation().dot(pose2.rotation()) < mCosHalfRotationalThreshold) { in areNear()
|
D | StillnessDetector.h | 104 bool areNear(const Pose3f& pose1, const Pose3f& pose2) const;
|