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

AR: World scale #466

Closed
wants to merge 81 commits into from
Closed

AR: World scale #466

wants to merge 81 commits into from

Conversation

rolson
Copy link
Contributor

@rolson rolson commented Oct 10, 2023

implements world scale AR with GPS coordinates.

Examples/ExamplesApp/Info.plist Outdated Show resolved Hide resolved
@MainActor
private func updateSceneView(for location: Location) {
// Make sure there is at least a minimum horizontal and vertical accuracy.
guard location.horizontalAccuracy < 10 && location.verticalAccuracy < 10 else { return }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The scene content is not rendering since my horizontal accuracy is 35 meters and vertical accuracy is ~16 meters outdoors. Are these values too low or is there a way to calibrate the device compass?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be unrelated to the compass, it's the GPS receiver. You can try again in a little while and see if some satellites come into view.

@rolson rolson requested review from des12437 and removed request for pgruenler and des12437 October 10, 2023 21:55
@rolson
Copy link
Contributor Author

rolson commented Oct 10, 2023

Before merging this needs to be tested with the same data we tested 100.x with.

Copy link
Collaborator

@dfeinzimer dfeinzimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of suggestions for the preambles since we cleaned them up everywhere else (see #537).

Examples/Examples/WorldScaleExampleView.swift Outdated Show resolved Hide resolved
@des12437 des12437 mentioned this pull request Jan 4, 2024
@des12437
Copy link
Contributor

des12437 commented Jan 8, 2024

Closing in favor of #556.

@des12437 des12437 closed this Jan 8, 2024
@des12437 des12437 deleted the ryan/worldScale3 branch April 9, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants