Home
last modified time | relevance | path

Searched refs:Twist3f (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libheadtracking/include/media/
DTwist.h32 class Twist3f {
34 Twist3f(const Eigen::Vector3f& translationalVelocity, const Eigen::Vector3f& rotationalVelocity) in Twist3f() function
37 Twist3f() : Twist3f(Eigen::Vector3f::Zero(), Eigen::Vector3f::Zero()) {} in Twist3f() function
39 Twist3f(const Twist3f& other) { *this = other; } in Twist3f() function
41 Twist3f& operator=(const Twist3f& other) {
53 bool isApprox(const Twist3f& other,
60 Twist3f operator*(const T& s) const {
61 return Twist3f(mTranslationalVelocity * s, mRotationalVelocity * s);
65 Twist3f operator/(const T& s) const {
66 return Twist3f(mTranslationalVelocity / s, mRotationalVelocity / s);
[all …]
DSensorPoseProvider.h68 const std::optional<Twist3f>& twist, bool isNewReference) = 0;
DHeadTrackingProcessor.h60 const Twist3f& headTwist) = 0;
/frameworks/av/media/libheadtracking/
DTwist.cpp24 Pose3f integrate(const Twist3f& twist, float dt) { in integrate()
30 Twist3f differentiate(const Pose3f& pose, float dt) { in differentiate()
33 return Twist3f(translationalVelocity, rotationalVelocity); in differentiate()
36 std::ostream& operator<<(std::ostream& os, const Twist3f& twist) { in operator <<()
42 std::string Twist3f::toString() const { in toString()
DTestUtil.h57 inline AssertionResult CmpHelperEQ<android::media::Twist3f, android::media::Twist3f>(
58 const char* lhs_expression, const char* rhs_expression, const android::media::Twist3f& lhs,
59 const android::media::Twist3f& rhs) {
68 inline AssertionResult CmpHelperNE<android::media::Twist3f, android::media::Twist3f>(
69 const char* lhs_expression, const char* rhs_expression, const android::media::Twist3f& lhs,
70 const android::media::Twist3f& rhs) {
DTwist-test.cpp30 Twist3f twist; in TEST()
40 Twist3f twist(trans, rot); in TEST()
51 Twist3f twist(trans, rot); in TEST()
59 Twist3f twist = differentiate(pose, 2.f); in TEST()
60 EXPECT_EQ(twist, Twist3f(Vector3f(1, 2, 3), Vector3f(0, 0, M_PI_4))); in TEST()
DHeadTrackingProcessor-test.cpp53 processor->setWorldToHeadPose(0, Pose3f(), Twist3f()); in TEST()
57 processor->setWorldToHeadPose(0, worldToHead, Twist3f()); in TEST()
79 const Twist3f headTwist{{4, 5, 6}, quaternionToRotationVector(Quaternionf::UnitRandom()) / 10}; in TEST()
88 processor->setWorldToHeadPose(0, Pose3f(), Twist3f()); in TEST()
116 processor->setWorldToHeadPose(0, Pose3f(), Twist3f()); in TEST()
122 processor->setWorldToHeadPose(0, targetHeadToWorld.inverse(), Twist3f()); in TEST()
138 processor->setWorldToHeadPose(4, Pose3f(), Twist3f()); in TEST()
DPosePredictor.h32 virtual void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) = 0;
46 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override { in add()
84 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override { in add()
117 Twist3f mLastTwist;
139 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override;
168 Pose3f predict(int64_t timestampNs, const Pose3f& pose, const Twist3f& twist,
DSensorPoseProvider-example.cpp34 using android::media::Twist3f;
43 const std::optional<Twist3f>& twist, bool isNewReference) override { in onPose()
DSensorPoseProvider.cpp209 std::optional<Twist3f> twist;
401 return PoseEvent{Pose3f(quat), std::optional<Twist3f>(), false}; in parseEvent()
415 return PoseEvent{Pose3f(quat), Twist3f(Eigen::Vector3f::Zero(), twist), in parseEvent()
DPose.cpp66 Twist3f twist = differentiate(fromToTo, t); in moveWithRateLimit()
DPosePredictor.cpp32 void LeastSquaresPredictor::add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) in add()
125 int64_t timestampNs, const Pose3f& pose, const Twist3f& twist, float predictionDurationNs) in predict()
DHeadTrackingProcessor.cpp62 const Twist3f& headTwist) override { in setWorldToHeadPose()
DREADME.md78 Twist3f headTwist;
/frameworks/av/services/audiopolicy/service/
DSpatializerPoseController.cpp39 using media::Twist3f;
307 const std::optional<Twist3f>& twist, bool isNewReference) { in onPose()
340 twist.value_or(Twist3f()) / kTicksPerSecond); in onPose()
DSpatializerPoseController.h155 const std::optional<media::Twist3f>& twist, bool isNewReference) override;