Home
last modified time | relevance | path

Searched refs:pose (Results 1 – 25 of 62) sorted by relevance

123

/aosp12/frameworks/av/media/libheadtracking/
H A DPose-test.cpp33 Pose3f pose; in TEST() local
40 Pose3f pose(rot); in TEST() local
42 EXPECT_EQ(pose.rotation(), rot); in TEST()
47 Pose3f pose(trans); in TEST() local
48 EXPECT_EQ(pose.translation(), trans); in TEST()
55 Pose3f pose(trans, rot); in TEST() local
56 EXPECT_EQ(pose.translation(), trans); in TEST()
57 EXPECT_EQ(pose.rotation(), rot); in TEST()
62 EXPECT_EQ(pose.inverse() * pose, Pose3f()); in TEST()
63 EXPECT_EQ(pose * pose.inverse(), Pose3f()); in TEST()
[all …]
H A DREADME.md5 pose fed into a virtualizer.
12 - Head pose, relative to some arbitrary world frame.
13 - Screen pose, relative to some arbitrary world frame.
20 - World-relative: both the head pose and stage pose are taken into account.
23 - Screen-relative: the head pose, screen pose and stage pose are all taken
38 "center" pose, or frame of reference.
76 pose, representing the change in pose over a short period of time. Its naming
133 The Predictor block gets pose + twist (pose derivative) and extrapolates to
141 slowly pulls the pose toward identity.
149 pose to obtain the pose of the “logical screen” frame, in which the Y-axis is
[all …]
H A DPoseRateLimiter.cpp39 Pose3f pose; in calculatePose() local
41 std::tie(pose, mLimiting) = moveWithRateLimit( in calculatePose()
42 mOutput->pose, mTargetPose.value(), timestamp - mOutput->timestamp, in calculatePose()
45 pose = mTargetPose.value(); in calculatePose()
47 mOutput = Point{pose, timestamp}; in calculatePose()
48 return pose; in calculatePose()
H A DScreenHeadFusion.cpp23 mWorldToHead = TimestampedPose{.timestamp = timestamp, .pose = worldToHead}; in setWorldToHeadPose()
27 mWorldToScreen = TimestampedPose{.timestamp = timestamp, .pose = worldToScreen}; in setWorldToScreenPose()
37 .pose = mWorldToScreen->pose.inverse() * mWorldToHead->pose}; in calculate()
H A DTwist-test.cpp54 Pose3f pose = integrate(twist, 2.f); in TEST() local
56 EXPECT_EQ(pose, Pose3f(Vector3f{2, 4, 6}, rotateZ(M_PI_2))); in TEST()
60 Pose3f pose(Vector3f{2, 4, 6}, rotateZ(M_PI_2)); in TEST() local
61 Twist3f twist = differentiate(pose, 2.f); in TEST()
H A DTwist.cpp30 Twist3f differentiate(const Pose3f& pose, float dt) { in differentiate() argument
31 Eigen::Vector3f translationalVelocity = pose.translation() / dt; in differentiate()
32 Eigen::Vector3f rotationalVelocity = quaternionToRotationVector(pose.rotation()) / dt; in differentiate()
H A DPoseDriftCompensator.cpp50 Pose3f PoseDriftCompensator::scale(const Pose3f& pose, int64_t dt) { in scale() argument
52 Vector3f translation = pose.translation(); in scale()
56 Vector3f rotationVec = quaternionToRotationVector(pose.rotation()); in scale()
H A DPose.cpp62 std::ostream& operator<<(std::ostream& os, const Pose3f& pose) { in operator <<() argument
63 os << "translation: " << pose.translation().transpose() in operator <<()
64 << " quaternion: " << pose.rotation().coeffs().transpose(); in operator <<()
H A DScreenHeadFusion-test.cpp58 EXPECT_EQ(worldToScreen1.inverse() * worldToHead1, result->pose); in TEST()
64 EXPECT_EQ(worldToScreen1.inverse() * worldToHead2, result->pose); in TEST()
70 EXPECT_EQ(worldToScreen2.inverse() * worldToHead2, result->pose); in TEST()
H A DSensorPoseProvider-example.cpp42 void onPose(int64_t timestamp, int32_t handle, const Pose3f& pose, in onPose() argument
49 << " pose=" << pose in onPose()
H A DPoseDriftCompensator-test.cpp82 Pose3f pose({1, 2, 3}, Quaternionf::UnitRandom()); in TEST() local
89 comp.setInput(t, pose); in TEST()
H A DScreenHeadFusion.h48 Pose3f pose; member
H A DPoseDriftCompensator.h70 Pose3f scale(const Pose3f& pose, int64_t dt);
H A DPoseRateLimiter.h82 Pose3f pose; member
/aosp12/frameworks/native/libs/vr/libdvrcommon/tests/
H A Dpose_test.cpp133 Pose_t pose(pose_rotation, pose_position); in TYPED_TEST() local
134 const Pose_t pose_inverse = pose.Inverse(); in TYPED_TEST()
139 const vec3_t transformed = pose.Transform(start_position); in TYPED_TEST()
145 pose.Compose(pose_inverse), pose_inverse.Compose(pose), in TYPED_TEST()
/aosp12/frameworks/av/services/audiopolicy/service/
H A DSpatializerPoseController.cpp226 void SpatializerPoseController::onPose(int64_t timestamp, int32_t sensor, const Pose3f& pose, in onPose() argument
230 mProcessor->setWorldToHeadPose(timestamp, pose, twist.value_or(Twist3f())); in onPose()
236 mProcessor->setWorldToScreenPose(timestamp, pose); in onPose()
/aosp12/hardware/interfaces/automotive/evs/1.1/
H A Dtypes.hal248 * The sensor pose defines the transformation to be applied to the android automotive axes to
250 * The pose consists of rotation, (specified as a quaternions) and translation
274 * Note: Every sensor type must specify its own pose.
278 * Rotation part of the sensor pose, expressed as a unit quaternion.
283 * Translation part of the sensor pose, in (x, y, z) format with milli-meter units.
297 SensorPose pose;
/aosp12/frameworks/base/media/java/android/media/
H A DISpatializerHeadToSoundStagePoseCallback.aidl30 void dispatchPoseChanged(in float[] pose); in dispatchPoseChanged() argument
/aosp12/hardware/interfaces/automotive/evs/1.1/default/
H A DEvsUltrasonicsArray.cpp61 sensors[0].pose = {{1, 0, 0, 0}, {-1000, 2000, 200}}; in fillMockArrayDesc()
66 sensors[1].pose = {{1, 0, 0, 0}, {0, 2000, 200}}; in fillMockArrayDesc()
71 sensors[2].pose = {{1, 0, 0, 0}, {1000, 2000, 200}}; in fillMockArrayDesc()
/aosp12/packages/services/Car/cpp/computepipe/example/
H A DFaceOutput.proto20 optional Pose pose = 2; field
/aosp12/hardware/interfaces/automotive/sv/1.0/
H A Dtypes.hal69 * Structure defining the pose in 3D space.
73 * Rotation part of the pose, expressed as a unit quaternion.
78 * Translation part of the pose, in (x, y, z) format with milli-meter units.
100 * specified by the rotation and tranlation component of the pose respectively.
116 Pose pose;
/aosp12/frameworks/av/media/libheadtracking/include/media/
H A DSensorPoseProvider.h63 virtual void onPose(int64_t timestamp, int32_t handle, const Pose3f& pose,
/aosp12/hardware/qcom/msm8994/kernel-headers/media/
H A Dmsm_fd.h39 __u32 pose; member
/aosp12/hardware/qcom/msm8996/kernel-headers/media/
H A Dmsm_fd.h40 __u32 pose; member
/aosp12/hardware/qcom/msm8996/original-kernel-headers/media/
H A Dmsm_fd.h39 __u32 pose; member

123