AR.js
AR.js copied to clipboard
Implement some kind of indoor positioning for location based feature
Some ideas at: https://github.com/jeromeetienne/AR.js/issues/623
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.
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.
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.
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.