I started out using this sample project https://developers.google.com/ar/develop/java/geospatial/quickstart.
I am able to place the anchors and view them in the ar view and on the map view as demonstrated in the sample project.
I have also added the accuracy
const val LOCALIZING_HORIZONTAL_ACCURACY_THRESHOLD_METERS: Double = 5.0const val LOCALIZING_HEADING_ACCURACY_THRESHOLD_DEGREES: Double = 5.0
as mentioned here https://developers.google.com/ar/develop/java/geospatial/quickstart#run_the_sample_app to only start displaying the objects when the accuracy is within the threshold.
The problem is that sometimes after placing the object it moves the phone to a new location, which in turn moves all the placed objects to different locations which is a very jarring experience.
Is there a way to stop or slow down this movement so that it is less jarring to the user? I suspect it moves the phone as it gets new gps data and re positions itself.
Here is a slightly modified version from the example app to demonstrate the issue:
This can happen multiple times per session.
