HDAugmentedReality icon indicating copy to clipboard operation
HDAugmentedReality copied to clipboard

POI position accuracy

Open mikesabino opened this issue 4 years ago • 2 comments

https://user-images.githubusercontent.com/3402340/103732411-59158b80-4ff8-11eb-8f41-8fcabfc2576c.mp4

Hi we are using this library for a POC, our use case is that users can walk around a park and be able to use AR to identify trees that are placed all around. Each tree has its own lat and long values.

The problem I'm having is that when I close to a POI, I mean within a 10 meter radius I see a significant deviation of the annotation position from the actual POI position.

In the attached video, the POI is the tree (Tree 1) in front of me, I'm about 3 or 4 meters away and the annotation is way to the right. The next POI is the next tree seen behind Tree 1 about 20 meters away, the annotation for it is also way off to the right.

I've tested the coordinates on google maps and they point right at where the trees are if I plot them there, google maps screenshot: https://imgur.com/a/AoCb0ei

Any ideas how to improve the accuracy of these?

mikesabino avatar Jan 06 '21 05:01 mikesabino

Hi,

I never tested this library with so small targets, I tested it mainly on buildings. You should probably be using some library that uses ARKit since that offers much better precision, e.g.: https://github.com/ProjectDent/ARKit-CoreLocation

There are multiple possible reasons why POI markers are not on right position:

  • location device is not accurate: this really depends, max accuracy is 3-4 meters, depends on which GNSS * the device is connected.
  • compass heading: this is very inacurate and causes most of the problems
  • location of your POIs
  • bug in library

*GNSS = Global Navigation Satelity System

You will have to put logs/breakpoints and find the cause of the problem.

DanijelHuis avatar Jan 06 '21 17:01 DanijelHuis

Thanks for your response, I'll look at that library aswell as the compass readings itself.

mikesabino avatar Jan 07 '21 09:01 mikesabino