/frameworks/av/media/libheadtracking/ |
D | Twist-test.cpp | 30 Twist3f twist; in TEST() local 31 EXPECT_EQ(twist.translationalVelocity(), Vector3f::Zero()); in TEST() 32 EXPECT_EQ(twist.rotationalVelocity(), Vector3f::Zero()); in TEST() 33 EXPECT_FLOAT_EQ(twist.scalarRotationalVelocity(), 0); in TEST() 34 EXPECT_FLOAT_EQ(twist.scalarTranslationalVelocity(), 0); in TEST() 40 Twist3f twist(trans, rot); in TEST() local 41 EXPECT_EQ(twist.translationalVelocity(), trans); in TEST() 42 EXPECT_EQ(twist.rotationalVelocity(), rot); in TEST() 43 EXPECT_FLOAT_EQ(twist.scalarRotationalVelocity(), std::sqrt(14.f)); in TEST() 44 EXPECT_FLOAT_EQ(twist.scalarTranslationalVelocity(), std::sqrt(77.f)); in TEST() [all …]
|
D | Twist.cpp | 24 Pose3f integrate(const Twist3f& twist, float dt) { in integrate() argument 25 Eigen::Vector3f translation = twist.translationalVelocity() * dt; in integrate() 26 Eigen::Vector3f rotationVector = twist.rotationalVelocity() * dt; in integrate() 36 std::ostream& operator<<(std::ostream& os, const Twist3f& twist) { in operator <<() argument 37 os << "translation: " << twist.translationalVelocity().transpose() in operator <<() 38 << " rotation vector: " << twist.rotationalVelocity().transpose(); in operator <<()
|
D | PosePredictor.h | 32 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() argument 48 (void)twist; in add() 84 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override { in add() argument 87 mLastTwist = twist; in add() 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,
|
D | Pose.cpp | 66 Twist3f twist = differentiate(fromToTo, t); in moveWithRateLimit() local 67 float angularRotationalRatio = twist.scalarRotationalVelocity() / maxRotationalVelocity; in moveWithRateLimit() 69 twist.scalarTranslationalVelocity() / maxTranslationalVelocity; in moveWithRateLimit() 74 return {from * integrate(twist, t / maxRatio), true}; in moveWithRateLimit()
|
D | SensorPoseProvider-example.cpp | 43 const std::optional<Twist3f>& twist, bool isNewReference) override { in onPose() argument 51 if (twist.has_value()) { in onPose() 52 std::cout << twist.value(); in onPose()
|
D | PosePredictor.cpp | 32 void LeastSquaresPredictor::add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) in add() argument 34 (void)twist; in add() 125 int64_t timestampNs, const Pose3f& pose, const Twist3f& twist, float predictionDurationNs) in predict() argument 139 predictor->add(timestampNs, pose, twist); in predict() 160 selectedPredictor->add(timestampNs, pose, twist); in predict()
|
D | SensorPoseProvider.cpp | 209 std::optional<Twist3f> twist; member 331 mListener->onPose(event.timestamp, event.sensor, value.pose, value.twist, in handleEvent() 407 Eigen::Vector3f twist = {event.head_tracker.vx, event.head_tracker.vy, in parseEvent() local 415 return PoseEvent{Pose3f(quat), Twist3f(Eigen::Vector3f::Zero(), twist), in parseEvent()
|
D | README.md | 80 This means that this twist represents the head-at-time-T to head-at-time-T+dt 131 The Predictor block gets pose + twist (pose derivative) and extrapolates to
|
/frameworks/av/media/libheadtracking/include/media/ |
D | Twist.h | 83 Pose3f integrate(const Twist3f& twist, float dt); 94 std::ostream& operator<<(std::ostream& os, const Twist3f& twist);
|
D | SensorPoseProvider.h | 68 const std::optional<Twist3f>& twist, bool isNewReference) = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | SpatializerPoseController.cpp | 307 const std::optional<Twist3f>& twist, bool isNewReference) { in onPose() argument 318 if (twist) { in onPose() 319 const auto rotationalVelocity = twist->rotationalVelocity(); in onPose() 340 twist.value_or(Twist3f()) / kTicksPerSecond); in onPose()
|
D | SpatializerPoseController.h | 154 const std::optional<media::Twist3f>& twist, bool isNewReference) override;
|
/frameworks/proto_logging/stats/enums/app/ |
D | settings_enums.proto | 2075 // OPEN: Settings > System > Input & Gesture > Double twist gesture
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 1596 // ACTION: Double twist camera shortcut 3525 // OPEN: Settings > System > Input & Gesture > Double twist gesture
|