AR.js icon indicating copy to clipboard operation
AR.js copied to clipboard

Implement some kind of indoor positioning for location based feature

Open nicolocarpignoli opened this issue 4 years ago • 4 comments

Some ideas at: https://github.com/jeromeetienne/AR.js/issues/623

nicolocarpignoli avatar Mar 04 '20 20:03 nicolocarpignoli

Acceleration is a good choice to predict the position indoor like the Inertial Navigation.

Though its accuracy needs a lot optimization, many mobile AR devices use this method for indoor positioning.

I am new to AR.js and it seem that the camera(my device) couldn't get its motion, which results in the scale of the model can not change with the view.

Trying to implement a device position predictor based on the data from DeviceMotionEvent.acceleration. Drifting is the key problem.

Also, some other frameworks use SLAM (actually,the VIO part of it) to track the position of devices.

Finally, great appreciation for your wonderful work.

fzy139 avatar Oct 21 '20 10:10 fzy139

Is it possible to set the location without using the phone GPS? This is required when you get the position using other approaches like beacons.

hamedkhan avatar Jan 27 '21 08:01 hamedkhan

I was thinking about this not just for indoor positioning, but when your GPS positioning is just wrong. It would be nice to figure out a way for the user to correct the positioning (not ideal for UX, but I am a dev, so I cant help myself!).

I am thinking if a public works person for example were looking at their underground infrastructure in AR, at things like water mains, man hole covers, fire hydrants, and they notice a misalignment, they could drag the fire hydrant to match the real world fire hydrant, or they could find some benchmarks and reposition based on those. With a user-initiated reposition like this, and with some magic math in the background the camera position could be overwritten and come from the other phone sensors, not the GPS (for a period of time, forever, until they moved a certain distance?). Im sure what other sensors and data we have at our disposal, but assuming the phone has 360 degree rotation info for real-world space, and an accelerometer, we can calculate new positions as the user moves through real world space after they have calibrated the camera position to their real-world position.

mmnoo avatar Jan 27 '21 14:01 mmnoo

has anybody tried to use an external API, for example provided by beacons based RTLS? I got a development kit that exposes an API, any idea on how to start the integration, so can use ar.js to visualize AR bust using the beacons API.

lucasroth avatar Mar 23 '21 02:03 lucasroth