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

Geolocations #619

Open
ZsoltMONOLITE opened this issue Nov 28, 2024 · 1 comment
Open

Geolocations #619

ZsoltMONOLITE opened this issue Nov 28, 2024 · 1 comment

Comments

@ZsoltMONOLITE
Copy link

Made the original in the old :/

Is your feature request related to a problem? Please describe.
Phone GPS inacuracity
I want to develop an application and i can see that location based AR would be an amazing addition to it, however, phone gps can have low accuracity and i wonder if its possible to improve?

i read about the oracle ancors, however dont know how much it would improve, and if it can be dynamically used, and does it need to be purchase every time you go back to the same location?
Describe the solution you'd like
Its more like asking for information, but might develop to a feature.
///Non-tech founder here, appologies for the things i dont know, however, as a landsurveyor has some knowledge of locations.///
My app will serve road construction sites, which 90% the time has a topographical survey which is coordinate correct to the proposed, which i want to display in AR.
Would it be possible to increase accuracity based on point pairs/references or at all if it would increase to accuracity?

map interface, shows user position and lines of topographical survey
User can chose a break point that can be clearly indentified on ground ie manhole corner
Interface to change camera view zoomed in with a crosshair, user to aim camera at the same manhole corner, hold phone their for 20 sec (to get multiple values to filter false perceptions)
rinse-repeat, min 3 times
Transformation values created
apply these values when switching to AR
these values are reset after 1 hour
But chosen points can be stored, so next time would be quicker
(Basically creating a calibration)
is it possible, would it help?
Describe alternatives you've considered
Other than GPS today much accurate positionings are possible especially in built areas, distance to mobile towers, it is possible to receive this data i saw some providers and the triangulated position calculated from this data is much more accurate.
Any chance to replace GPS positioning with this data?

Additional context
Add any other context or screenshots about the feature request here.

Please correct me if im wrong, in tech, etc, but feels like this topic is worth a discussion, or a question at least, as no information available

Thank you

@nickw1
Copy link
Collaborator

nickw1 commented Dec 5, 2024

Hi, AR.js uses the JavaScript Geolocation API. You can get the best available location provider by passing in the enableHighAccuracy option and setting it to true (see for example https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition).

In fact AR.js already does this by default so you should already get the best available provider. From the Mozilla docs regarding enableHighAccuracy:

"A boolean value that indicates the application would like to receive the best possible results. If true and if the device is able to provide a more accurate position, it will do so. Note that this can result in slower response times or increased power consumption (with a GPS chip on a mobile device for example). On the other hand, if false, the device can take the liberty to save resources by responding more quickly and/or using less power. Default: false."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants