Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local pose used for EstimateFeatureMapQualityForHosting #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Runtime/Scripts/ARAnchorManagerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ public static ARCloudReferencePoint ResolveCloudReferenceId(

/// <summary>
/// Estimates the quality of the visual feature points seen by ARCore in the
/// preceding few seconds and visible from the provided camera <paramref name="pose"/>.
/// preceding few seconds and visible from the provided camera <paramref name="pose"/>
/// relative to the session origin.
/// Cloud Anchors hosted using higher feature map quality will generally result
/// in easier and more accurately resolved <c><see cref="ARCloudAnchor"/></c> poses.
/// If feature map quality cannot be estimated for the given <paramref name="pose"/>,
Expand Down
4 changes: 2 additions & 2 deletions Samples~/PersistentCloudAnchors/Scripts/ARViewManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ public class ARViewManager : MonoBehaviour
/// <returns>The camera pose of the current frame.</returns>
public Pose GetCameraPose()
{
return new Pose(Controller.MainCamera.transform.position,
Controller.MainCamera.transform.rotation);
return new Pose(Controller.MainCamera.transform.localPosition,
Controller.MainCamera.transform.localRotation);
}

/// <summary>
Expand Down